-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Todd Andrews on 12/6/2007 11: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. > > cp -pr --flatten data -t alldata Thanks for the suggestion. However, it seems like this is already possible with existing tools, so why add the bloat? find data -type f -exec cp -pr -t alldata {}+ - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHWUvf84KuGfSFAYARAltpAKCYIpzvQJYd72jZx8O813ZvSkXaRwCgj5vV R1Se58DTfoUCFM7KrmpqdvE= =S/QB -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils