File Mover Blog

June 23, 2020

Q&A 17: Is it possible to move files and create a folder with limagitoX

Q: Is it possible to move files and create a folder by partial files name by limagitoX.

For example: in folder A, we have files which are named as XXX-TC.txt, XXX-KR.txt, XXX-JP.txt, XXX-SC.txt and we want to move those files to XXX folder? I want to use “-” as a parameters to defile the folder name.

A: Yes this is possible using a combination of two options in your destination setup.

First, in the ‘File & Directory Tab’ of your destination setup, enable ‘Create Subdir’ option and set it to:  %SFN

We will use the filename as a base part when creating the subdirectory in the second step.

LimagitoX File Mover Create Folder

Secondly, enable ‘Rename Destination Subdirectory’ (Rename Tab) and click <Rename Filter Setup>.

LimagitoX File Mover Enable Rename Directory

Directory Rename Setup:

Add a new line and set

  • RegEx:  (.*?)-(.*)
  • Replacement:  \1

LimagitoX File Mover Directory Renaming Setup

If you need any help , please let us know.

Best Regards,

Limagito Team

By Limagito-Team Q&A Share:
SEARCH