Thu  12-06-07  10:13 pm

Hello,

I'd like to suggest a new feature be added to cp called --flatten that would remove all paths from the source files/directories and copy the file to the destination directory.

For example:

source:

data/AR/ARCUST
data/AR/AROPEN
data/AP/APVEND
data/AP/APOPEN

cp -pr --flatten data -t alldata

(--flatten could even imply -r)

destin:

alldata/ARCUST
alldata/AROPEN
alldata/APVEND
alldata/APOPEN

Thanks for listening!

Regards,
Todd Andrews


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to