
27 Aug
2013
27 Aug
'13
2:16 p.m.
On 27/08/13 22:48, Peter wrote:
for f in `find . -type f`; do cp $f /mnt/$f; done
Apart from not catering for embedded spaces in filenames, the 'find' here won't sort the files into a collation order. When copying sets of files from a single directory to an mp3 player, I just use a wildcard copy, since the wildcard will expand in collation order. Also, there's a program 'fatsort' in the package repositories which will do recursive directory sorting on FAT16 and FAT32, though I haven't tried it myself. Glenn -- sks-keyservers.net 0x6d656d65