5 Feb
2002
5 Feb
'02
18:06
* Raúl Gutiérrez Segalés (rau@campoalto.edu.py) [020205 08:10]:
How can I make lots(for example 5) of copies of a file.. (from the command line, not writing a script).
I tried this but it didnt work..:
$ for f in "file[1-5]" ; do `cp file $f` ; done
let n=5;while [ $n -gt 0 ]; do cp file "file$n" let "n -= 1" done -- -ckm