Moving and deleting folders

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Moving and deleting folders Tue Sep 11, 2012 8:25 am • by wmike1503
Currently trying before buying.

I wish to do the following on my Music directory.

1. Move all music subdirectories and their contents to my external drive (if duplicates - these should be deleted).

2. Delete any empty directories from the Music directory.

Any suggestions, please?

Cheers,

Mike
wmike1503
 
Posts: 5
Joined: Fri Aug 03, 2012 6:28 am

Re: Moving and deleting folders Tue Sep 11, 2012 11:56 am • by Mr_Noodle
What constitutes a music subdirectory? As for deleting empty directories, search the forums. It's a topic that has come up (and been answered) many times.
Mr_Noodle
Site Admin
 
Posts: 11551
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Moving and deleting folders Tue Sep 11, 2012 12:19 pm • by wmike1503
Yes, I have searched.

I would have thought a music directory was self-explanatory.

Not very helpful.
wmike1503
 
Posts: 5
Joined: Fri Aug 03, 2012 6:28 am

Re: Moving and deleting folders Tue Sep 11, 2012 2:51 pm • by Mr_Noodle
So, what? A directory with music in it? How about a directory with directories with music in it? What if there are other non-music files in the directory? Please understand you have to be specific since everyone has different notions of what this means. For many, just a folder named "Music" is what constitutes a music directory.

For empty directories, again, it depends on what you want. You want a file that is empty in terms of bytes? In that case, just match folders with a size of 0. Note that this includes folders with other empty folders in it. If you want a folder with nothing in it (including empty folders), then you probably want to use the Sub-file/folder count instead. In such a case, then, you'll need to account for something (either another Hazel rule or an external force) to remove the empty folders within those folders.
Mr_Noodle
Site Admin
 
Posts: 11551
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Moving and deleting folders Tue Sep 11, 2012 3:28 pm • by wmike1503
Hmm,

Quite aggressive tone. You, obviously, have not read my question, clearly states a music directory with sub directories - which bit of that is not clear?

That fact that I called them a music directory doesn't suggest that they have music files in them?

Blimey - don't trouble yourself. I'll find other ways of doing this.

Strange attitude.
wmike1503
 
Posts: 5
Joined: Fri Aug 03, 2012 6:28 am

Re: Moving and deleting folders Tue Sep 11, 2012 3:41 pm • by Mr_Noodle
I apologize if I come off aggressive but I didn't appreciate what came off as a dismissive tone in your reply. No, it's not clear to me because as I mentioned, everyone has different requirements for this. If you would humor me and actually answer my questions then I can help otherwise, I will end up suggesting the "wrong" thing over and over again because you refuse to specify anything and we both end up wasting each others' time.

Simply put, if you answer my questions, I will provide you with the answer you need.
Mr_Noodle
Site Admin
 
Posts: 11551
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support

cron