Can Robotask do this file moving scenario well?

Discuss RoboTask here
Post Reply
AtariBaby
Posts: 2
Joined: Mon May 01, 2023 6:27 pm

Can Robotask do this file moving scenario well?

Post by AtariBaby »

Hi

I have a system that automatically downloads a ton of book files. The problem is those files are in with a very large bunch of files, making finding them to read very tedious. I would like some of those files moved based on their file name, so I can find them grouped together into folders based on their names.

I’m looking for software that can do the following:

Watch a directory and its sub folders for incoming files.

If any of the incoming files meet a list of keywords, each specific file is moved to certain directory.

So for example:
Wolverine 076 (2023) (lots of additional characters).(file extension)
X-Force 040 (2023) (lots of additional characters).(file extension)
I want that first file moved to a folder called “Wolverine (2023)”
I want that next file moved to “X-Force (2023)”

Files that don’t meet those criteria can be left where they are.

So the criteria would need to allow for the fact that each “Wolverine” has a different issue number and ignore lots of other characters in the file names.

Can Robotask do this?

Also wondering if Robotask can create hard links or symlinks to the moved files, but not necessary.

Thanks for reading!
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Can Robotask do this file moving scenario well?

Post by Oleg »

Can Robotask do this?
Yes of course, RoboTask can do this.
You can select necessary files by mask. For example:
Wolverine 076 (2023) *.*
You can enumerate all necessary files in the loop (use File Loop)
and move them file by file to another folder ( see Copy/Move File action)
Also wondering if Robotask can create hard links or symlinks to the moved files, but not necessary.
RoboTask can not make hard or soft links directly. But there is internal command of CMD.EXE (system command processor) MKLINK
The command line is:
cmd /c mklink <key options>

Read more about command line options of MKLINK command here
Oleg Yershov
AtariBaby
Posts: 2
Joined: Mon May 01, 2023 6:27 pm

Re: Can Robotask do this file moving scenario well?

Post by AtariBaby »

Thank you. How exciting! I’ll try it.

I gather the mklink command, a feature in Windows, would have to be manual, not automated.
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Can Robotask do this file moving scenario well?

Post by Oleg »

...would have to be manual, not automated.
You can perform any command line in the task by using Run Program/Open Document or Run Console Application action
Oleg Yershov
Post Reply