[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] cp recursive command ?
- Subject: RE: [cobalt-users] cp recursive command ?
- From: "Andy Brown" <andy.brown@xxxxxxxxxxxxx>
- Date: Fri Sep 6 08:56:00 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
<snip>
> What about a bit of /bin/bash'ery ;)
</snip>
Ok, one slight mistake!! Just for archives here is one that works ;-)
#!/bin/sh
cd /home/sites/
FILESTOFIX=`cd /home/sites;find |grep .ftphelp`
for i in $FILESTOFIX; do
echo "***********************************" > $i
echo " Unauthorized access is prohibited" >> $i
done
echo "All done!"
Regards,
Andy
andy@xxxxxxxxxx
http://www.raqpak.com/ <-- Raq/Qube unofficial PKGs and support advice