0.0
No commit activity in last 3 years
No release in over 3 years
This is a gem that renames files based on their 'modified date' and organizes them into folders for each date
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

>= 0
>= 0
 Project Readme

fileorganizer

Renames files using the file modified date/time (File.mtime()) and groups them into folders by date

WHAT IT DOES:

All files, including subfolders, are searched and organized into a single directory of folders with naming the convention of "YYYY-MM-DD". All files are renamed with the convention of "YYYY-MM-DD hour/minute/second -0800_1#####" where the last five digits increment if a duplicate filename. Any files that already have a name starting with the "YYYY-MM-DD" format will NOT be renamed, but will still be moved/organized into their corresponding folder. The previous folders that do not meet the "YYYY-MM-DD" naming convention will then be removed.

HOW IT WORKS:

Install gem

CLI "fileorganizer"

CLI then asks if you'd like to run the script starting from it's installed directory. If "n" (no) is selected then it will ask in which directory (full path) you'd like to search and organize files. It will then display all current files in this directory for review.

CLI then asks if you want to proceed with renaming the listed files and organizing them into folders. If "y" (yes) then the program will proceed. Once completed it will list out all the new files that have been renamed and the new folders that they have been moved into.