24 Jun
2005
24 Jun
'05
16:40
On Fri, 2005-06-24 at 18:39 +0300, Silviu Marin-Caea wrote:
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 ..
Must be broken in 9.3 as it still shows the . and .. files on my system. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge