GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Help Legendary Lars out ! (https://gfy.com/showthread.php?t=385261)

Xenophage 11-08-2004 09:30 AM

Help Legendary Lars out !
 
Ok so I have 500 directories on a windows box

they look like this

randomname/images/filename.jpd

I want to make them all

randomname/filename.jpg

and I dont want to move all the images 1 at a time

how do I mass move 75000 files up 1 directory
in 500 different folders.

Xenophage 11-08-2004 09:38 AM

wow I thought someone would ahve a quick easy answer

kmanrox 11-08-2004 09:39 AM

bump for Lars

Xenophage 11-08-2004 09:50 AM

is it impossible

seems like there should be a program that does this

GeXus 11-08-2004 09:51 AM

Open both windows.. the empty folder you want the images to be in and the folder the images are in.

Use your mouse and highlight all the images.. then drag and drop into the other folder

jimmyf 11-08-2004 09:55 AM

Quote:

Originally posted by LegendaryLars
Ok so I have 500 directories on a windows box

they look like this

randomname/images/filename.jpd

I want to make them all

randomname/filename.jpg

and I dont want to move all the images 1 at a time

how do I mass move 75000 files up 1 directory
in 500 different folders.

the question was so simple, i read it and read it thinking must be something else 2 it.. :helpme

Xenophage 11-08-2004 09:58 AM

Quote:

Originally posted by GeXus
Open both windows.. the empty folder you want the images to be in and the folder the images are in.

Use your mouse and highlight all the images.. then drag and drop into the other folder

yes thats nice if you have 1 folder I have 500 and dont want to sit there for 4 hours and do it one directory at a time I need to do it in batch 500 directories all the same structure

Xenophage 11-08-2004 10:00 AM

Quote:

Originally posted by jimmyf
the question was so simple, i read it and read it thinking must be something else 2 it.. :helpme

modelname1/images/file.jpg
modelname2/images/file.jpg
...
modelname499/images/file.jpg


each dir with a model name 500 of them has anywhere for 20-200 images I need to move all those images up 1 level in the tree but keep the 500 dirs so I want to get rid of the images directory in all 500 folders

Harmon 11-08-2004 10:01 AM

Hey Lars, this may be what you rae looking for. I didn't search for vast amounts of time but from what I have rtead it looks like it might be your solution with a little tweaking. Hope it helps :thumbsup

http://www.hahntech.com/copycat.htm

Xenophage 11-08-2004 10:02 AM

Quote:

Originally posted by Harmon
Hey Lars, this may be what you rae looking for. I didn't search for vast amounts of time but from what I have rtead it looks like it might be your solution with a little tweaking. Hope it helps :thumbsup

http://www.hahntech.com/copycat.htm

looks good but I dont think that does what I need

justsexxx 11-08-2004 10:03 AM

Does

filename.jpd

all have the same name? for example

/dir1/galleryfile.psd /dir2/galleryfile.psd?


If that;s the case, just use windows SEARCH and search for filename galleryfile.psd

All files will apear, crtl A crtl C and then paste them in a new directory.

Andre

Jer 11-08-2004 10:03 AM

I wonder if this would work

Type the line below in your shell / SSH screen
(when you're in the right system path)

mv /*/images/*.jpg /*/*.jpg

Xenophage 11-08-2004 10:05 AM

Quote:

Originally posted by Jer
I wonder if this would work

Type the line below in your shell / SSH screen
(when you're in the right system path)

mv /*/images/*.jpg /*/*.jpg

yup this would work if I was on a unix box :)


sometimes windows is so fucking lame

Xenophage 11-08-2004 10:06 AM

Quote:

Originally posted by justsexxx
Does

filename.jpd

all have the same name? for example

/dir1/galleryfile.psd /dir2/galleryfile.psd?


If that;s the case, just use windows SEARCH and search for filename galleryfile.psd

All files will apear, crtl A crtl C and then paste them in a new directory.

Andre

nope all files have difffernt names. there are 75,000 differnt files to move up ond dir in the tree

Jer 11-08-2004 10:06 AM

Quote:

Originally posted by Jer
I wonder if this would work

Type the line below in your shell / SSH screen
(when you're in the right system path)

mv /*/images/*.jpg /*/*.jpg

WARNING: Copy some dirs to another path and try this there first

Jer 11-08-2004 10:08 AM

Damn, I hate when people post stuff without reading first but this time I made this mistake. :(

Xenophage 11-08-2004 10:10 AM

Quote:

Originally posted by Jer
Damn, I hate when people post stuff without reading first but this time I made this mistake. :(
heheh no worries thanks for giving it a shot anyway :)

Xenophage 11-08-2004 10:21 AM

I really dont wanna have to go through and massage 500 dirs 1 at a time

Xenophage 11-08-2004 10:48 AM

hmm finding a few things may have to move it all to a unix box

jimmyf 11-08-2004 11:16 AM

Quote:

Originally posted by LegendaryLars
modelname1/images/file.jpg
modelname2/images/file.jpg
...
modelname499/images/file.jpg


each dir with a model name 500 of them has anywhere for 20-200 images I need to move all those images up 1 level in the tree but keep the 500 dirs so I want to get rid of the images directory in all 500 folders

:1orglaugh that's what i thought at 1st... guess I was right and it's not simple...

get a programer 2 do it for you.

good luck

Xenophage 11-08-2004 11:36 AM

Quote:

Originally posted by jimmyf
:1orglaugh that's what i thought at 1st... guess I was right and it's not simple...

get a programer 2 do it for you.

good luck

if I cant find some shelf software to do It I will move all the files toa unix box and massage ti that way

seems like this would some up for people from time to time its not that unique

Xenophage 11-08-2004 12:50 PM

Ok I got it done

I used thumbs plus to rebuiold all the images and then told it to build the images in ../ which moved everything up one dir. then removed all the images directories and wall I am done :)

RawAlex 11-08-2004 01:11 PM

Tarball the whole thing up, then untar it with "ignore folder" into your new directory.

Ta-dah.

Alex

wedouglas 11-08-2004 01:23 PM

try that or just do it one at a time, will take 20 minutes top

Jer 11-08-2004 02:06 PM

Quote:

Originally posted by LegendaryLars
Ok I got it done

I used thumbs plus to rebuiold all the images and then told it to build the images in ../ which moved everything up one dir. then removed all the images directories and wall I am done :)

:thumbsup


All times are GMT -7. The time now is 10:33 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123