On 08/17/2011 08:10 PM, Randal L. Schwartz wrote:
> Find is overkill if you're not descending directories.
>
> perl -e 'open F, ">$_" for @ARGV' *
Agreed. /var/log definitely has some nesting, though (below). But that's
no excuse for me not to learn Perl. :-)
jameson@orange:/var/log$ sudo find /var/log -type d | sort
/var/log
/var/log/apache2
/var/log/apparmor
/var/log/apt
/var/log/ConsoleKit
/var/log/cups
/var/log/dist-upgrade
/var/log/fsck
/var/log/gdm
/var/log/installer
/var/log/installer/cdebconf
/var/log/mysql
/var/log/news
/var/log/samba
/var/log/samba/cores
/var/log/samba/cores/winbindd
/var/log/speech-dispatcher
/var/log/tomcat6
/var/log/unattended-upgrades
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug