Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Finding un-paired files in a directory

by mce (Curate)
on Dec 03, 2003 at 12:49 UTC ( #311885=note: print w/replies, xml ) Need Help??


in reply to Finding un-paired files in a directory

Hi,

If this is the only thing you want to do, I would use bash

for i in *did; do [ ! -f ${i%\.did}.mrg ] && echo $i; done
(Don't take this post to serious, I would -of course- go for perl if I need to do more than just display the files)
---------------------------
Dr. Mark Ceulemans
Senior Consultant
BMC, Belgium

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://311885]
help
Chatterbox?
[pryrt]: stevieb: going thru cblast to get caught up, I see that strawberry fixed their download hashes. Fast turnaround on that fix. :-)
[pryrt]: Are you going to tie the berrybrew expected hashes to their releases.json to keep it always up-to-date?

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2017-03-30 13:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (357 votes). Check out past polls.