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) /othe
-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
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
Hi,
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.
Thanx
Martin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mai