Istvan Gabor wrote:
Regarding the solution you gave: it works with one directory at a time. What is if you have several directories and don't want to create and fill them individually?
Assuming that your music is stored in ~/mp3 and your MP3-player is mounted at /media/disk, you can use cd ~/mp3 find . -print0 | sort -z | xargs -0 cp --parents --target-directory=/media/disk Which will copy all files and directories in ~/mp3 recursively in alphabetical order and put them in /media/disk. Alphabetical order also regarding directory names, so ~/mp3/Abba/ will be copied before ~/mp3/ZZ_Top/. Regards nordi -- Spam protection: All mail to me that does not contain the string "suse" goes to /dev/null. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org