Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^2: Directories without recursion and exceptions

by uksza (Monsignor)
on Feb 21, 2006 at 14:58 UTC ( #531710=note: print w/ replies, xml ) Need Help??

in reply to Re: Directories without recursion and exceptions
in thread Directories without recursion and exceptions

Thanx a lot for your reply!
Some more about my exceptions:
I've got program (scaner) whitch can scan directories with recursion but don't have --except parametr. So, if I want scan /home (except /home/user3) I must write:

./scaner /home/user1 /home/user2 /home/user4 /home/user5
But what if I have 100 users and 12 exceptions? And what if I want to scan / with 12 exceptions in /home 5 in /usr and some more?
I use my script and make list all directiories without unnecessary subdirectories (/home/user1/mail etc).
And I just wonder if is any smarter way to do it.

greetz, Uksza

Yes, smart people know that fat arrow autoquotes the left argument. But why should you require your code to be maintained by smart people?
Randal L. Schwartz, Perl hacker

Comment on Re^2: Directories without recursion and exceptions
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://531710]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2014-07-11 09:24 GMT
Find Nodes?
    Voting Booth?

    When choosing user names for websites, I prefer to use:

    Results (222 votes), past polls