Hi,
----[ '~/bin/renamer' ]-------------------------------------------------
#!/bin/bash
IFS='
'
for DIR in $(find -type d) ; do
chmod 755 "${DIR}"
rename "s|'|_|g" "${DIR}"
done
for FILE in $(find -type f) ; do
chmod 644 "${FILE}"
rename "s|'|_|g" "${FILE}"
done
------------------------------------------------------------------------
Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
<http://www.tamay-dogan.net/> <http://www.can4linux.org/>
Michelle Konzack Apt. 917 ICQ #328449886
+49/177/9351947 50, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Attachment:
signature.pgp
Description: Digital signature