Custom Scripting Help Needed for File Management Tasks

Hello Everyone :hugs:,

After using Directory Opus over a time, I am really amazed with how strong its file management features are. I've been experimenting with the custom script features lately to try automating some of my tedious chores.

I have, however, run into a couple obstacles and would really value some advice from the community.

My main objective is to write a script that can do the following:

File Renaming: Oftentimes, I get batch of files with erratic file names. My goal is to write a script which can modify these files according to certain standards, like changing the file names' case or appending a prefix or suffix.

Folder Organisation: Depending on the file type or creation date, I frequently have to arrange files into subfolders. For instance, all picture files need to be placed in the "Images" folder, and all documents need to be organised in the "Documents" folder.

Metadata Management: Specifically, I want to be able to take metadata out of and update different kinds of files, such documents and photographs. I would save a tonne of time if this process were automated.

I also followed this :point_right: https://community.spiceworks.com/t/custom-file-management-task-in-fsrm/uipath

I have the following specific queries:

  • Which programming language in Directory Opus would be most suited for these tasks? :thinking: I've worked with both JScript and VBScript on occasion.
  • Can I use any scripts or resources which currently exist as a starting point to do these tasks? :thinking:
  • Could someone please assist me get started on one of the aforementioned chores by providing a simple example script? :thinking:

Thank you :pray: in advance.

JScript is recommended but scripting is not mandatory for the use cases you provided. The Rename command will cover a lot of ground and is the best place to start. For specific help, post example filenames and folder structures, and how you want them changed.

If you haven't already, check out Rename Presets.

Welcome,
It sounds like you want to use Opus for some of the same things I use Opus for. I work with photos and videos mostly.
I use the built-in renaming feature and it is very customizable. I also move files a lot and always need to preserve folder structure. There is no scripting needed for that.
I also add and edit metadata. Feel free to message me privately and tell me more about your needs. Maybe I'll be able to help.
check out this video: Video & Article - Using Directory Opus for Photo Organization