MarketplaceStudioSnippetFile and Folder Organizer

Create your first automation in just a few minutes.Try Studio Web

File and Folder Organizer

File and Folder Organizer

by Cloudwerx Pty Ltd

StarStarStarStarStarStarStarStarStarStar

0

Snippet

Downloads

<100

back button
back button
carouselImage0
next button
next button

Summary

Summary

Attended bot to organize files in a folder into different subfolders based on extension. For unknown file types, option appears to create a new, add in existing or move to Miscellaneous sub-folder.

Overview

Overview

This snippet is designed to group all files into different subfolders based on file extension. The folder path is provided by the user. This workflow accepts the following input arguments:

  • in_strOptionByUser (String) - represents the value to decide whether the bot should start or not.
  • in_strUserInputFolderPath (String) - represents the folder path to organize the files.
  • in_strUserInput (String) – represents the selected option (out of 3 options – Create new folder, Add in existing folder, Keep in Miscellaneous), chosen by the user if file type is unknown.

This workflow can be used to organize any given folder. It comes preloaded with the essential file types and folder structure. The file types defined in the Config file are:

  • Documents:

         o Compressed - .zip

         o Pdf – .pdf

         o Excel_WordDoc – .doc, .docx, .csv, .xls, .xlsx

  • Photos - .png, .jpg, .bmp, .jpeg
  • Videos - .mp4
  • Music - .mp3
  • Application Setup - .exe, .msi
  • Miscellaneous

It asks the user to select the folder he/she wants to organize, loops all the files present in the folder, checks the extension of each file and moves it into the respective subfolder. More file types can be pre-defined in the Config file just by adding a row and entering the details ‘File extension’ and ‘Folder Name’. For any file which has an unknown extension, it gives the user the three options below:

  • Create a new folder – Creates a new subfolder with the name entered by the user and moves the file to that subfolder. It also adds this file-folder mapping into the Config file and moves all the files with this extension to the required subfolder.
  • Add in existing folder – Gives a drop-down option to the user and moves the file to the chosen subfolder. It also adds this file-folder mapping into the Config file and moves all the files with this extension to the required subfolder.
  • Keep in miscellaneous – Moves the file to the miscellaneous subfolder.

This workflow also gives the user the option to move all the personal files to the personal subfolder if the ‘Username’ is filled in the Config file. The bot will check the name of each file and if it has ‘Username’ in it, it will create a sub-folder named “Username” and moves the file into it.

Features

Features

The goal of this snippet is to save time and organize subfolders by moving all the files into specific subfolders. It gives users the ability to add their custom mapping for the folder and subfolder mapping for the required file types, if not already present.

Additional Information

Additional Information

Dependencies

"UiPath.Excel.Activities": "[2.10.4]", "UiPath.Mail.Activities": "[1.10.5]", "UiPath.System.Activities": "[21.4.1]", "UiPath.UIAutomation.Activities": "[21.4.4]"

Code Language

Visual Basic

Publisher

Cloudwerx Pty Ltd

Visit publisher's page

License & Privacy

MIT

Privacy Terms

Technical

Version

1.0.0

Updated

June 22, 2022

Works with

Studio: 21.4.4 - 22.10

Certification

Silver Certified

Support

UiPath Community Support

Resources

Similar Listings