- how can i use command line commands in rules?
i want to use this command:
dd if=/dev/mmcblk0 | ssh firstname.lastname@example.org "cat > raspberry/image_20150611.img"
to create a sd card image one time a week on my nas.
- how can i switch to root?
- how can i enter the password for the nas? if i do the command manually i get the prompt “password:”
- and how can i check if it was successfull or not?
or is there an easier way to do this?
thanks a lot