Re: newbie question - how to pass textfile as an argument

2003-10-01 Thread Dan Nelson
In the last episode (Oct 01), Martin Vana said: I was just wondering if there is a way how to pass a text file with list of path/files to programs like cp/mv. If the list is small (less than 65000 characters total): cp $(cat myfile) /otherdir/ If the list is large: xargs myfile -J% cp %

Re: newbie question - how to pass textfile as an argument

2003-10-01 Thread Andy Harrison
-BEGIN PGP SIGNED MESSAGE- ~ On 01-Oct-2003, Martin Vana wrote message newbie question - how to pass textfile as an argument ~ I was just wondering if there is a way

Re: newbie question - how to pass textfile as an argument

2003-10-01 Thread Viktor Lazlo
On Wed, 1 Oct 2003, Dan Nelson wrote: In the last episode (Oct 01), Martin Vana said: I was just wondering if there is a way how to pass a text file with list of path/files to programs like cp/mv. If the list is small (less than 65000 characters total): cp $(cat myfile) /otherdir/