💾File Organizer
A simple console application to organize files by their extensions.
(This is my first repository on github, enjoy!:robot: :blush: )
How to setup
- 💿Download all files for application.
- Extract files into local directory.
💻Command Prompt
- Open cmd in installed directory.
- Initiate application
FileOrganizer.exe
. - Enter directory path to clean (eg.
C:\path..."
). - Enter operation
--pack
or--unpack
.
⏰Task Scheduler
- Open task scheduler.
- Create a basic task.
- Set desier trigger time.
- Under Action, select "Start a Program".
- Click "Browse" and navigate to local installed directory. Select "FileOrganizer.exe".
- Under "Add arguments (optional)" enter
<direcctory> --<operation>
, e.g.C:\Users\username\Downloads --pack
. - Under "Start in (optional)" enter installed directory, e.g.
E:\Software\installed folder
. - Finish.
Commands
- Command structure:
FileOranizer.exe <directory> --<operation>
. <directory>
is the target directory to clean.<operation>
is the operation that the program will perform, they are:--pack
move all file types into allocated directory.--unpack
move all file out within the subfolders into root directory.
Configure directory tree structure
- Open TreeConfig.json in installation directory.
- add new or modify file extension and relevant path.
Example command
- Pack and clean file in directory
C:\Users\username\Downloads
FileOrganizer.exe C:\Users\username\Downloads --pack
- Restore packed file
FileOrganizer.exe C:\Users\username\Downloads --unpack
Bugs
- Crash when executing
--unpack
if "Archive" folder does not exist yet.