Thu 12-13-07 09:48 pm
Bob wrote:
First no one suggested using xargs.
Not true. Pádraig Brady replied to my original post and suggested xargs.
It looks like he replied to me off-list so I can see why you replied as
you did above.
But find does it internally now and is standardized.
Go
Todd Andrews wrote:
> 1) The command line using find gets a bit complicated when you need to
> take into account file names with spaces, quotes, etc.
The 'find' command Eric proposed handled file names with spaces,
quotes, etc. okay. There was no further complication.
> Using a variation on wha
Thu 12-13-07 07:45 am
Thanks to everyone who replied! I should have explained more fully my
reasons for making the suggestion:
1) The command line using find gets a bit complicated when you need to
take into account file names with spaces, quotes, etc.
Using a variation on what Pádraig Br
Eric Blake wrote:
> Todd Andrews wrote:
> > 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
-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 -
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
c