Sort Files in subfolders by modified date - Get File Date

  • 9 November 2022
  • 6 replies

Hello, I have a Folder with a lot of files, I need to build a bot to:

check each file modified date, and move to a sub folder like yyyy\mm\


I was thinking in make a Loop for each file iin folder, and some function to read file modified date, but there is no native function to read it.


How can I do it?


6 replies

Userlevel 6
Badge +16

Hi @Aldo Lanfranconi​ ,


Checkout below botstore bot to get 'file modified date'>

Hello Chandu, on the package you mention there are 7 .JAR package files to import:










the only one it seems to be related is bot-command-file

After importing, there is no new file command action to get file modified date.


what am I doing wrong?

Captura de pantalla 2022-11-09 114341 

Userlevel 3
Badge +6

Import : FileFolderAttributes-2.1.0-20211018-153636.jar and check new actions

Excellent, It works!

Userlevel 6
Badge +16

Hi @Aldo Lanfranconi​ ,


Checkout below tutorial for downloading the package offline and upload back to CR>


Checkout below tutorial on usage of "File and Folder Attributes: File Attributes" command to get Last modified date. Time Stamp : 8:42>

Badge +1

hi i am using file folder trigger to run the bot .when new file is added in folder bot has trigger and read newly added xml file .but somtimes two or more files are added in the folder (if 5 files added at same time the bot is triggered 5 times but it reads only same file each time .I need read those 5 files one bye one) how i overcome this problem .

(Note: latest file is comes at first index always)