topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 7:51 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Re: Rename FOLDERS in hierarchy  (Read 2656 times)

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 552
    • View Profile
    • Donate to Member
Re: Rename FOLDERS in hierarchy
« on: February 17, 2023, 12:09 AM »
Vic and friends....  Please see the following.

https://www.donation...ex.php?topic=53141.0


publicdomain

  • Moderator
  • Joined in 2019
  • *****
  • Posts: 732
  • Call me Vic!
    • View Profile
    • Donate to Member
Re: Rename FOLDERS in hierarchy
« Reply #1 on: February 19, 2023, 03:14 PM »
Got it! Code is actively being added to GitHub repo @ https://github.com/publicdomain/rename-hierarchy

Stay tuned for first release :Thmbsup:

Cheers!
Vic
My name's Victor but do feel free to call me Vic!

Support with your DonationCredits!
❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com

publicdomain

  • Moderator
  • Joined in 2019
  • *****
  • Posts: 732
  • Call me Vic!
    • View Profile
    • Donate to Member
Re: Rename FOLDERS in hierarchy
« Reply #2 on: February 19, 2023, 06:25 PM »
The app is shaping along  :)

RenameHierarchy_ALPHA.png

Regarding your comment:

Problem could be that the larger folders have path length issues, greater than 255 characters.  Bummer.  If that's the case, probably Victor will run into the same, and come up short.

I can enable the application to use AlphaFS to handle long path names. No problem :Thmbsup:

https://github.com/alphaleonis/AlphaFS/
https://alphafs.alphaleonis.com

What does AlphaFS provide?
AlphaFS provides a namespace (Alphaleonis.Win32.Filesystem) containing a number of classes. Most notable are replications of the System.IO.File, System.IO.Directory and System.IO.Path, all with support for the extended-length paths (up to 32000 chars) [...]

Cheers!
My name's Victor but do feel free to call me Vic!

Support with your DonationCredits!
❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com
« Last Edit: February 19, 2023, 09:46 PM by publicdomain »

publicdomain

  • Moderator
  • Joined in 2019
  • *****
  • Posts: 732
  • Call me Vic!
    • View Profile
    • Donate to Member
Re: Rename FOLDERS in hierarchy
« Reply #3 on: February 20, 2023, 09:07 PM »
Update:

  • Alphaleonis support added  :up:
  • Since the directory length is configurable, I'm taking care of some details such as offering the user an option to raise the name length automatically to fit the job. [Can be added to a further version if required/needed by users]
  • Also, making the algorithm sort generated random directory names to match original sorting by name.[Sorted naming hint is not needed as folders return to their exact original name 8)]
  • LiteDB support coming next for UNDO and we call it done & fit for release  :)
My name's Victor but do feel free to call me Vic!

Support with your DonationCredits!
❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com
« Last Edit: February 23, 2023, 05:51 PM by publicdomain »

publicdomain

  • Moderator
  • Joined in 2019
  • *****
  • Posts: 732
  • Call me Vic!
    • View Profile
    • Donate to Member
Re: Rename FOLDERS in hierarchy
« Reply #4 on: February 23, 2023, 05:05 PM »
Hi Nick, your program is complete and I'm uploading it to Mouser's site & GitHub to make it an official release :)

RenameHierarchy_UNDO.png

... the shortcut to program can be renamed ...

BTW, this functionality is enabled via "Tools/Customize/Context menu item text".

RenameHierarchy_v0-1-0_context-menu-item-text.png
My name's Victor but do feel free to call me Vic!

Support with your DonationCredits!
❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com
« Last Edit: February 23, 2023, 06:26 PM by publicdomain »

publicdomain

  • Moderator
  • Joined in 2019
  • *****
  • Posts: 732
  • Call me Vic!
    • View Profile
    • Donate to Member
Re: Rename FOLDERS in hierarchy (Released)
« Reply #5 on: February 23, 2023, 06:28 PM »
... to make it an official release ...

Done :Thmbsup::

RenameHierarchy - Rename an entire hierarchy of folders (v0.1.0)

Cheers!
Vic
My name's Victor but do feel free to call me Vic!

Support with your DonationCredits!
❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com
« Last Edit: February 24, 2023, 07:14 AM by publicdomain »