dslreports logo
 
    All Forums Hot Topics Gallery
spc
uniqs
22
pablo
MVM
join:2003-06-23

pablo to regexuser

MVM

to regexuser

Re: REGEX HOWTO's/Tutorials for BASH scripts/commands

Hi,

My approach is to always break down a problem to "bite size chunks", solve it and move to the next "chunk" I string them all together and hope not to "blow chunks" :)

Let's first try to ensure we "find" the files you want.

The following seemed to work in my wee little sandbox:

cd /the/top/level/directory/to/search
find . -type d -iname 'Some.Directory.S[0-9][0-9]E[0-9][0-9].720p.*'


Does it work for you? Does it find the directories you're interested?

FYI: "man find" provides oodles of goodies.

Cheers,
-pablo

RegexUser
@199.19.94.x

RegexUser

Anon

said by pablo:
FYI: "man find" provides oodles of goodies.
man is what left the bad taste to start..these man pages all to often suffer "wirtten for those who already know how to use..." it reads like to repeat the oft stated cliché... "Reads like stereo instructions for the dead."

I'll review the other posts and see where it gets me. THANKS!
pablo
MVM
join:2003-06-23

pablo

MVM

said by RegexUser :

said by pablo:
FYI: "man find" provides oodles of goodies.
man is what left the bad taste to start..these man pages all to often suffer "wirtten for those who already know how to use..."

Hi,

One thought you may consider is to be the /someone/ to change the "man page" That's the spirit of Open Source: be the /someone/ to affect change.

Cheers,
-pablo

RegexUser
@199.19.94.x

RegexUser

Anon

said by pablo:
One thought you may consider is to be the /someone/ to change the "man page" That's the spirit of Open Source: be the /someone/ to affect change.

Wrong person for that. That will be done by someone else, not me.