Bulk-remove a specific subfolder, but leave contents intact?

Post any Bulk Rename Utility support requirements here. Open to all registered users.

Bulk-remove a specific subfolder, but leave contents intact?

Postby jariesuicune » Tue Aug 05, 2014 11:06 pm

I'm trying to eliminate junk 3rd level subfolders while keeping their contents intact in the 2nd level subfolders within a master 1st subfolder (If that makes sense to anyone but me)

Example:
Pictures/Artist1/junkfolder1/Year/File.jpg
Pictures/Artist2/junkfolder2/Year/File.jpg

I want to just remove the subfolders at junkfolder's level within the Pictures folder, leaving the rest of each file/folder's directory intact.

I guess a better way of wording it would be to move all folders of a specific level, along with their contents, one level up, and remove the folder that they had been contained in?

I don't mind if the method were slower than tolerable to others (if it works, it works).
jariesuicune
 
Posts: 5
Joined: Tue Aug 05, 2014 10:56 pm

Re: Bulk-remove a specific subfolder, but leave contents intact?

Postby Stefan » Fri Aug 08, 2014 10:16 pm

 

Such tasks are better done with scripts like batch or VBS.



 
Stefan
 
Posts: 736
Joined: Fri Mar 11, 2005 7:46 pm
Location: Germany, EU

Re: Bulk-remove a specific subfolder, but leave contents intact?

Postby jariesuicune » Sat Aug 09, 2014 12:02 am

Thanks for replying! But...

... ok. So, how? I know nothing about that stuff, or I'd have already done it...
jariesuicune
 
Posts: 5
Joined: Tue Aug 05, 2014 10:56 pm

Re: Bulk-remove a specific subfolder, but leave contents intact?

Postby Stefan » Sat Aug 09, 2014 9:13 am

jariesuicune wrote:... ok. So, how? I know nothing about that stuff,


I would just ask in a VBScript or PowerShell forum....



Goggle my aid you.







Please wait a few seconds then submit. Thank you.
 
Stefan
 
Posts: 736
Joined: Fri Mar 11, 2005 7:46 pm
Location: Germany, EU

Re: Bulk-remove a specific subfolder, but leave contents intact?

Postby jariesuicune » Sat Aug 09, 2014 4:30 pm

I am also checking other sites; this is just the first I posted to. I'm looking for help with the problem, not suggestions to search Google.

If you know a way that can actually help and explain it, please reply, otherwise, it's really fine if this thread dies as it is.

Help would be preferred, of course.
jariesuicune
 
Posts: 5
Joined: Tue Aug 05, 2014 10:56 pm

Re: Bulk-remove a specific subfolder, but leave contents intact?

Postby NeilM » Tue Aug 12, 2014 3:25 pm

Because you can't delete a folder without deleting its contents, (as far as I can see) you'll have to go the long way round...

Create two new folders:
Pictures/Artist1/year
Pictures/Artist2/year

Move (not rename) the files:

Pictures/Artist1/junkfolder1/Year/File.jpg > Pictures/Artist1/year
Pictures/Artist2/junkfolder2/Year/File.jpg > Pictures/Artist2/year

Delete the junkfolders
NeilM
 
Posts: 3
Joined: Tue Jul 29, 2014 10:09 am

Re: Bulk-remove a specific subfolder, but leave contents intact?

Postby jariesuicune » Wed Aug 13, 2014 1:30 am

So, no way to make a script that would move them up a folder, even if it left the junk folder intact?
That's what matters most in the first place, moving them. The folders can sit there and be merely annoying if need be.

... That's the same useless suggestion I got on another forum. I'm not a total noob, I know how to do this the slowest way possible (I'm trying to speed up organization of many thousands of files in at least hundreds of junk subfolders. The example was just that, an example.). I'm looking for a faster way, if any, even through Scripting or whatever [I just have no idea how to do that].)
jariesuicune
 
Posts: 5
Joined: Tue Aug 05, 2014 10:56 pm

Re: Bulk-remove a specific subfolder, but leave contents intact?

Postby Stefan » Wed Aug 13, 2014 7:18 am

jariesuicune wrote:So, no way to make a script that would move them up a folder

Sure! Just ask in the right forum. Here is not the right place for this issue. Here is about file name modifying.




 




Please wait a few seconds then submit. Thank you.
Stefan
 
Posts: 736
Joined: Fri Mar 11, 2005 7:46 pm
Location: Germany, EU

Re: Bulk-remove a specific subfolder, but leave contents intact?

Postby NeilM » Wed Aug 13, 2014 10:24 am

jariesuicune wrote:...That's the same useless suggestion I got on another forum. I'm not a total noob..


Aye, right...you're welcome too.
Sheez - a guy tries to help and gets called useless.
Ok - non-noob.... some careful manipulation of directory listings will produce a script to do the job, but being as clever asyou are you probably know that and can do it in your sleep.
NeilM
 
Posts: 3
Joined: Tue Jul 29, 2014 10:09 am

Re: Bulk-remove a specific subfolder, but leave contents intact?

Postby jariesuicune » Wed Aug 13, 2014 6:41 pm

Nope. But I CAN read -> Like I said, I have no idea how to do scripting. Got any help on how to do it?

I didn't come here to have insult replies. I believed there were actual people that are tech-savvy (more than just the genius who made Bulk Rename Utility, who has saved me SO much trouble with other file issues!) who are able to offer help for what I am looking for.
jariesuicune
 
Posts: 5
Joined: Tue Aug 05, 2014 10:56 pm


Return to BRU Support