Log in

View Full Version : 2257 URL script / BOT


Jicky Jack
2005-05-25, 12:20 AM
Hey, who has a script/bot that will scan all my folders and place my jpg file urls in a notepad file??? Anyone? Then I could just copy and paste into my image folders and archive them. If a script does not exist who will be the 1st to offer this and make a boat load of cash??? I already posed this to a techie friend of mine who is looking into a writing a simple script... But a more complex script specifically for the new regs would be awesome!

That would save me a thousand hours of work!

JJ |angry|

cd34
2005-05-25, 12:29 AM
if you have shell access to your machine

find . -name \*.jpg -print|grep -v ^tn_ > file.txt

the

| grep -v ^tn_

gets rid of any jpg file that starts with tn_ (i.e. thumbnails)

Jicky Jack
2005-05-25, 12:33 AM
if you have shell access to your machine

find . -name \*.jpg -print|grep -v ^tn_ > file.txt

the

| grep -v ^tn_

gets rid of any jpg file that starts with tn_ (i.e. thumbnails)


Hey thanks... I'll get my server guy to walk me through that.. I think I have access.. It's a dedicated I'll ask my host... thanks again!!! |thumb

And was just thinking about changing all my new updates to have the same file name eg: image001 , image002 etc... looks like that would have been a bad idea.. |dizzy|