Skip to content

ChristianDobbie/file_organizer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 

Repository files navigation

file_organizer

A script that looks through any folder you tell it to and moves the files to respective subfolders based on the file type.

The organizational system for this was borrowed from github.com/kallehallden, but I feel like my implementation is different enough for this to deserve it's own repo.

Tried using the shutil module to do shutil.copy2() at first, but realized that that was erasing parts of metadata that I wanted to preserve for files, so I've switched to using the os module to move files.

AFAIK all issues that existed have been resolved with the latest commit, but I can still think of a ton of features that I could still implement in this.

Will keep updating as I work on this.

Command Line Arguments

You can now run the script from the command line and provide the source and base destination folders as arguments.

eg: python3 fileorganizer.py /home/skaranzx16/Downloads/ /home/skaranzx16/

where /home/skaranzx16/Downloads/ is the source folder and /home/skaranzx16/ is the base destination folder.

About

A script that looks through any folder you tell it to and moves the files to respective subfolders based on the file type.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%