I'm faced with trying to copy about a 1000 jpg files from 10,000 of other files from a windows hd.
Of course the windows folders have spaces in the folder names, but why will this work: sudo cp --parents "/mnt/nfs/backup/DOCUMENTS/dumb windows folder name/dumb file name.jpg" /mnt/public-wd/temp
and this will not work: for F in `cat files`; do sudo cp --parents "$F" /mnt/public-wd/temp; done
..where files contains a list of the 1000 jpg files enclosed in "", eg "/mnt/nfs/backup/DOCUMENTS/dumb windows folder name/dumb file name.jpg"
..any pointers would be much appreciated