Re: [Easytag-mailing] A couple of issues with file-directory renaming




This is a message which I sent after subscribing to your list in June.  Apparently it was not received by your system or not distributed to your list.

---

I am currently using EasyTAG 1.99.11 from Ubuntu 6.06.  My goal was to rename >10000 files, based on the immaculate tags contained in the files, thus coordinating file names and organizing them into directories.

Two issues prevented this from being a smooth operation.

1)  Occasionally EasyTAG encounters two copies of a song which happily coexisted in separate directories before, but will now find themselves sharing a single name in the same directory.  EasyTAG is justifiably puzzled by this and pops up an Error dialog box offering one to skip the operation.  This is counterproductive, because it requires the user to babysit the file renaming operation.  It would be better if EasyTAG adopted the convention that when it is asked to create a file with a name where a file already exists, it would simply add a (2) or a _2 at the end of the file name, and continue.

2) The second problem seems to be a bug.  Frequently EasyTAG issues an error message "Can't remove old directory <some directory name> (Permission denied)".  As far as I can tell, this occurs under the following circumstances:  My disk contains multiple instances of Artist/Album-1, Artist/Album-2, ... which EasyTAG processes in order, renaming the files and moving them to a new location.  Once all the files from the directory have been removed, EasyTAG removes the directory, which is great.  However, it seems that once the last Album has been processed, the Album and Artist directory deletion either occurs in the wrong sequence or is attempted twice.  Either way, the error message pertains to Artist/Album_last.  As in the case of issue 1), the fact that the process is frequently stopped by these error messages prevents the automatic processing of a large number of files.  After analysing this problem a circumvention trick occurred to me.  Basically, I realized that EasyTAG would not attempt to remove a directory unless it had successfully moved all the files from the directory.  Thus, I decided to add a non-music file to each of the directories which EasyTAG would be processing:

$ find . -type d -exec touch {}/foo \;

This had the desired effect, because EasyTAG ran uninterrupted for the several hours it required to complete the renaming task.

Thank you very much for EasyTAG.

Best regards.

  Gísli
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]