Coder Social home page Coder Social logo

mvp223 / file_organizer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sreekaransrinath/file_organizer

0.0 0.0 0.0 142 KB

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

Python 100.00%

file_organizer's Introduction

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.

file_organizer's People

Contributors

sreekaransrinath avatar rafaelamauri avatar better-boy avatar tarek-alzein avatar gfunk81 avatar chrisbeardy avatar kurskoy avatar sedaboni avatar ankur-kayal avatar vardhanaav avatar christiandobbie avatar gauravgupta45 avatar 0sf avatar mutx avatar sekhar989 avatar campovettoriale avatar nishu88 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.