-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I'm trying to produce a list of files with 'find' skipping some paths, but I can't find an optimal method. Maybe I just need more coffe. What I do at the moment is: find / -type f | egrep -v "/var/spool/news/" | \ egrep -v "/var/run/udev/links" | egrep -v "/var/run/user/" > filelist Also, I have not found a concoction to use egrep to filter out some strings on one go, like: ... egrep -v "/var/run/udev/links\|/var/spool/news/" or ... egrep -v "/var/run/udev/links" -v "/var/spool/news/" Oh, and I see I forgot to look only at line start. But that does not matter much. - -- Cheers Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlNdCK4ACgkQtTMYHG2NR9WY1gCeMZksduejGaYmnsmSqP2pv3+P rBEAn02aYgucdeHZt/rYRhl65I8o+bLv =VPac -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org