I have an iBasso digital music player and I need a little help uisng rsync. I want to copy all of my muisc from /home/garrett/Music/ into my SD card which is at /media/garrett/6BF6-AC8A/ I'm currently using the command rsync -a --delete /home/garrett/Music/ /media/garrett/6BF6-AC8A/
The thing is I would also like to transfer my audio books which I don't keep in my music directory, they are in /home/garrett/Audiobooks/ I would like to add the audiobooks direcotry to the command above but instead of only coping the contents of the Audiobooks directory the way it's doing with my Music directory I would like it to copy the directory itself and it's contents, not just the contents. Secondly how do I keep the command listed above from deleting the Audiobook DIR everytime it runs, I need it to make an exception for the Audiobooks DIR. Thanks.
lewashby 56 Junior Poster
mike_2000_17 2,669 21st Century Viking Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.