Skip to content

MikeWent/fsorter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fsorter

A file sort utility which helps you to organize your "Downloads" folder, for example.

Requirements: Python 3.

How to use

Simply run fsorter.py with directory specified:

./fsorter.py ~/Downloads

Example output:

funnycatHD.jpg (4.95 MB) -> Pictures
install.sh (12.1 KB) -> Scripts
vacation_20180801.mp4 (182.7 MB) -> Video
dump.bak (5.32 MB) -> Backups
blog_posts.sql (578.64 KB) -> Databases
notes.txt (832.83 KB) -> Documents
copy81.zip (355.5 KB) -> Archives

More info

usage: fsorter.py [-h] [-d PATH] [-t] [-f] [-i] [-n] directory

positional arguments:
  directory

optional arguments:
  -h, --help            show this help message and exit
  -d PATH, --destination PATH
                        directory in which the sorted files will be moved
  -t, --test-run        just print what will be done
  -f, --force           overwrite files if exist
  -i, --interactive     ask for an action (skip/overwrite) for every file
                        conflict
  -n, --include-hidden  include files with leading dot in the filename

License

MIT

About

Group files to folders by extension. Sort your "Downloads" folder

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages