A
A
Andrew B2019-01-08 12:01:12
Total Commander
Andrew B, 2019-01-08 12:01:12

How to split folders into a directory and a subdirectory through TC?

There are huge catalogs that take a ton of time to parse.
Directories of the form:
Author - title
Author - title2
Author -
title3 Author2 - title
Author2 -
title2 Author3 - title, etc.
They need to be divided into folders by author, such as
Author/title
Author/ title2
Author/
title3 Author2/title
That is, everything before the dash "-" goes into the folder name, everything after the dash goes into the subfolder name, and the contents of the original folder, respectively, remain in a subfolder.
Can this breakdown be automated via TC? Or other programs can do it? Please, help me a lot.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
l_e_v, 2019-01-10
@doommyyy

Select folders
Ctrl+M
Search for: (.*) - (.*)
Replace with: $1\\$2
enable RegEx checkbox

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question