This question is answered.


Permlink Replies: 4 - Pages: 1 - Last Post: 25 Feb 23, 11:30 Last Post By: davidekholm Threads: [ Previous | Next ]
GHammer

Posts: 28
Registered: 28-Jul-2006
Tools-Batch Rename Files Hard Lockup of jAlbum
Posted: 23 Feb 23, 23:44
 
  Click to reply to this thread Reply
I am redesigning my website and have been renaming folders and files.
To rename the folder, I just double click it in jAlbum and replace space with underscore.
This is tedious, but works.
Once a folder is renamed, I then rename the files. I took a look at selecting all images in a folder then using F2, but the options there aren't clear (to me) and I saw no easy way to use the folder name as the new file name with incrementing number.

I have been using Tools->Batch rename files.
Once opened, $folderName-%03d is the pattern I use, deselect Links only.

My issue is that jAlbum will freeze on this or that folder. There is no response to any mouse action anywhere in the jAlbum window.

I've tried having the system console open to see if when this happens I can catch something useful. Nothing appears when the freeze happens.

I have to use task manager to end the process.

I look in the folder I was operating on and see that some files have been renamed. I have tried removing the next file (old sequence #) closing jAlbum then restarting it and trying again.
This has worked once or twice but normally it freezes again.

My question, using the F2 rename function, how would I rename files with the folder name and a 3 digit sequence number?

Failing that, how can I get any debug info on what is freezing jAlbum for some Batch rename file operations and not for others?

The folders have jpg heic and some mp4 files. There is no pattern to the freeze. Sometimes it fails on folders that have only jpg. The files themselves don't appear corrupt, they are displayed and albums are created. Plus, a rename shouldn't be opening the files.

jAlbum 30.0.2 x64 Windows 11
RobM

Posts: 3,949
Registered: 4-Aug-2006
Re: Tools-Batch Rename Files Hard Lockup of jAlbum
Posted: 24 Feb 23, 11:22   in response to: GHammer in response to: GHammer
Helpful
  Click to reply to this thread Reply
Moved to bugs forum, since this is a bundled tool. The tools forum is intended for users to post tools and extensions, that keeps it easy for others to find the tools.

Edited by: RobM on 24 Feb 2023, 10:27
Sorry, just read the bit on system console already tried
davidekholm

Posts: 3,583
Registered: 18-Oct-2002
Re: Tools-Batch Rename Files Hard Lockup of jAlbum
Posted: 24 Feb 23, 14:05   in response to: GHammer in response to: GHammer
Correct
  Click to reply to this thread Reply
Here is a fixed version of this tool (attached). Put it within jAlbum's "tools" folder.

Use this pattern to get the desired effect: $folderName %04d

(The F2 renamer currently doesn't support the folder name)
GHammer

Posts: 28
Registered: 28-Jul-2006
Re: Tools-Batch Rename Files Hard Lockup of jAlbum
Posted: 24 Feb 23, 15:22   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Thanks for the quick fix.
davidekholm

Posts: 3,583
Registered: 18-Oct-2002
Re: Tools-Batch Rename Files Hard Lockup of jAlbum
Posted: 25 Feb 23, 11:30   in response to: GHammer in response to: GHammer
 
  Click to reply to this thread Reply
You're welcome
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums