INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: rename by removing directory structure  (Read 872 times)

lise

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 946
rename by removing directory structure
« on: February 05, 2002, 09:22:57 am »

I have files named c:\music\Artist\Album\Artist-Album-Track#-Title
I want to get rid of the Artist\Album directories.

Do I have to move them (and then manually delete the directories in Explorer) or can I use properties rename?  I've tried the latter, by leaving the directory rule blank, but it didn't work.  Is it supposed to?
Logged
A wise man once said don't count your years, but make your years count. Or was it beers?

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20062
RE:rename by removing directory structure
« Reply #1 on: February 05, 2002, 09:29:39 am »

there is no way to delete the empty dirs

A Way would be to move from lets say all files in

C:\My Music1\

to

C:\My Music2\

and then delete all dirs in "My Music1"
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

Callithumpian

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 487
  • Subvert the Dominant Paradigm
RE:rename by removing directory structure
« Reply #2 on: February 05, 2002, 12:39:58 pm »

Yes.
Renaming the files, through the properties dialogue, will move the files and create new directories as necessary according to the template that you use.
After the rename and before you hit save, you can check the location field of each file and it shows where MJ is going to put the file and what the new filename will be.
Brilliant! I love it.

However,(i just remembered this) if you use a directory rule, both fields must have an entry.  IE- the Base Path must be specified AND a Rule.
If you dont want any sub-directories created under the Base Path for the given files, just specify a dummy rule, something in the tags which is empty - I often use "Custom1". Because it is empty the files are just moved to the Base Path.

The rule field for Directories could be left blank up to about 80160 and it would still work, but no longer.
Maybe I should post it as a bug - oops, I just did!

As the King says, empty directories get left behind, which is a hassle but I don't think it should be part of MJ duties to address that.
Logged

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20062
RE:rename by removing directory structure
« Reply #3 on: February 05, 2002, 01:34:15 pm »

>>As the King says, empty directories get left behind, which is a hassle but I don't think it should be part of MJ duties to address that
well, that is debatable

Or you could think it like this

If MJ created it MJ should remove it when no longer needed, when the last file in the dir is Moved or Deleted
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

lise

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 946
RE:rename by removing directory structure
« Reply #4 on: February 05, 2002, 02:14:06 pm »

Thanks King & Callithumpian.

>The rule field for Directories could be left blank up to about 80160 and it would still work, but no longer. Maybe I should post it as a bug - oops, I just did!

This is exactly what I was after.  I was trying to rename the files by having a base path, but an empty directory rule, thinking the files would be saved in the base directory, rather than in the Artist\Album directories.  You are right--you can't do it anymore.  Definitely a bug.
Logged
A wise man once said don't count your years, but make your years count. Or was it beers?
Pages: [1]   Go Up