View Single Post
Old 2019-04-23, 07:51 AM   #1
Greenguy
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
 
Greenguy's Avatar
 
Join Date: Feb 2003
Location: Blasdell, NY (shithole suburb south of Buffalo)
Posts: 41,915
Send a message via ICQ to Greenguy
Arrow Help! Creating Folders & Moving Files Part II

Let's see if dummy can explain this correctly

I have a bunch of folders on a server with pics in them. I need to move all the pics into a new folder titled "photos" in each. So I need to go from:
/members/greenguy/folder1/image1.jpg
/members/greenguy/folder1/image2.jpg
etc.
/members/greenguy/folder2/image1.jpg
/members/greenguy/folder2/image2.jpg
etc.
/members/greenguy/folder3/image1.jpg
/members/greenguy/folder3/image2.jpg
etc.

To:
/members/greenguy/folder1/photos/image1.jpg
/members/greenguy/folder1/photos/image2.jpg
etc.
/members/greenguy/folder2/photos/image1.jpg
/members/greenguy/folder2/photos/image2.jpg
etc.
/members/greenguy/folder3/photos/image1.jpg
/members/greenguy/folder3/photos/image2.jpg
etc.

Every folder in the /greenguy/ directory has a set of pics, so something that automatically took all the contents of each folder (folder1, folder2, folder3, etc.) and put them into a new /photos/ folder would be perfect.

I have roughly 3000 folders of pics, so anything that saves me from doing this one by one would be GREATLY appreciated
__________________

Promote POV Porn Cash By Building & Submitting Galleries to the Porn Luv Network
Greenguy is offline   Reply With Quote