Order of files with 'cp'
Brian Candler
B.Candler at pobox.com
Fri Nov 18 07:36:19 PST 2005
> This just adds a -o flag to cp, which preserves order.
Hmm, that's another solution that I hadn't thought of.
Advantages: simple to implement. (Even simpler if you use the ?: operator).
Disadvantages: it's still strange that the default behaviour is to copy the
files in an arbitary shuffled order. The manpage will need updating to
document the -o flag, and hence will have to explain the strangeness.
Commands arguably have too many flags already.
Regards,
Brian.
More information about the freebsd-current
mailing list