I need to be able to run the command
rsync -a --delete ~/Music /SDcard && shutdown
The problem is that shutdown is a root or sudo command and I don't want to run rsync as sudo
because that would make all the files that rsync copies owned by root. I need to be able
to run this command because syncing my music library takes a while and that means I also
won't be around to type in my sudo password anyway. Any ideas or suggestions? Thanks.