24 Jun
2005
24 Jun
'05
15:39
On Friday 24 June 2005 18:18, Tom Wekell wrote:
Andrei Verovski (aka MacGuru) wrote:
Hi,
Someone can suggest me how to recursively copy files from a given directory while adding preffix to the copies in destination dir?
Thanks in advance for any suggestion(s).
Andrei
How about: for i in `ls`; do cp $i /some/directory/prefix.$i; done
ls -A or else will list . and ..