Copy files using filenames from text files with shell script or bash script
- From: "altariamx2003@xxxxxxxxx" <altariamx2003@xxxxxxxxx>
- Date: 19 Nov 2006 16:00:13 -0800
How can I do this????
I have the file "lista.txt", and this file have the next information:
one.txt
two.txt
five.txt
six.txt
-------------------
This files exist in the same directory that "list.txt", I would like to
copy this files to other directory
Using Windows the batch file would be like this: for /f "tokens=*" %i
in (list.txt) do copy "%i" destdir\
How can I do something like that in REDHAT??
Best Regards
.
- Prev by Date: Re: FC-6-x86_64-DVD.iso: "No ISO imgage"
- Next by Date: Re: Linux RH9 installation problem
- Previous by thread: FC-6-x86_64-DVD.iso: "No ISO imgage"
- Next by thread: Problem compiling binutils
- Index(es):