DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: IDEA Folders 2 Folder based on Files 2 Folder by Skwire  (Read 4,210 times)

magician62

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 180
IDEA Folders 2 Folder based on Files 2 Folder by Skwire
« on: February 17, 2021, 11:41 AM »
I have used Files to folder on numerous occasions and it is very efficient at what it does, and seems to have many of the elements of the idea

I am in the process of restructuring how store some of my data, but it means re-structuring thousands of folders.
I need to be able to select a group of folders instead of files, and put them into a new directory in the same path location.

Example

Before
C:\+EXISTINGFOLDER [a01]
C:\+EXISTINGFOLDER [a02]

After
C:\+NEWFOLDER [C]\+EXISTINGFOLDER [a01]
C:\+NEWFOLDER [C]\+EXISTINGFOLDER [a02]

Constants
All Folders are prefixed by a plus "+".
EXISTINGFOLDER name will always be the same
The bracket "[ ]" Content of the source could be any 3 or 4 character alpha numeric, but he alpha will always prefix the numeric.
There is only one occurrence of brackets in the folder name, and it is always at the far right.

The new +NEWFOLDER bracket contents will always be a "C"

Either the user should be offered the option of providing the new "+NEWFOLDER [C]" name as in Files to Folders.

Or even better extract the complete new +NEWFOLDER name from the first +EXISTINGFOLDER name of the selected group and replace the bracket contents with "C".

Thanks for your help. If you need clarification, please let me know.
Why an I Magician62? Because Magician1 thru 61 were gone. :)

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
    • Participated in NANY Challenge Three Times
    • Linux User
Re: IDEA Folders 2 Folder based on Files 2 Folder by Skwire
« Reply #1 on: February 27, 2021, 03:52 PM »
Hi there magician! Just opened the repo to make this release :)

Cheers!

« Last Edit: May 08, 2022, 10:18 PM by publicdomain »

Original address: https://www.donationcoder.com/forum/index.php?topic=51093.0