Giter Site home page Giter Site logo

file_organizer's Introduction

File Organizer

or 'Organizer' if you prefer.

Table Of Contents:


Overview

Arranges files into folders based on their extension type.

No dependencies or additional libraries required.

forthebadge made-with-python


Syntax

  1. Start your favorite Command-Line program, in administrator or sudo mode as per your Operating System.

  2. Change your current directory, to where the project is saved.

  3. Copy paths of your Source and Destination Folders

    Source Folder ---> Where your files are stored to be organised.

    Destination Folder ---> Where you want your files to be organised.

  4. For Linux based systems,

python3 fileorganizer_linux.py <source_folder> <destination_folder>

For Windows systems,

python fileorganizer_windows.py <source_folder> <destination_folder>
  1. Replace the 'source_folder' and 'destination_folder' in the commands as per your choice.

  2. Let it run !

  3. You might be asked a few questions, if there is a possibility of overwriting. Answer corresponding to your required action.


Supported File Types

There are around 1406 extensions currently supported.

1. Documents

2. Financial Records

3. Media

  • Adobe - AfterEffects
  • Adobe - Director
  • Audio
  • Audio Editing
  • Images
  • Playlist
  • Video
  • Video Editing

4. Other

  • Compressed
  • Desktop-Publishing
  • Disc
  • Encoded
  • Encrypted
  • Executable
  • Fonts
  • Internet-related
  • VMs (Virtual Machines)

5. Programming

  • ABAP
  • AGS Script
  • AMPL
  • ANTLR
  • APL
  • ASP
  • ActionScript
  • Ada
  • Agda
  • Alloy
  • AppleScript
  • Arc
  • Arduino
  • AspectJ
  • Assembly
  • Augeas
  • AutoHotKey
  • AutoIt
  • Awk
  • Batch File
  • Befunge
  • Bison
  • BlitzBasic
  • BlitzMax
  • Bluespec
  • Boo
  • BrightScript
  • Bro
  • C
  • C#
  • C++
  • C2hs Haskell

Currently in development stage

Jump to the top

file_organizer's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

file_organizer's Issues

Add new file types to extensiondict.py

extensiondict.py contains a dictionary of file types, extensions and where they should be placed in the file organization system.

While it is fairly extensive at the moment, I'm sure I haven't covered every file type possible.

Your mission, should you choose to accept it, is to add new file types (and the directories they belong in) to the extensiondict.py file.

This message will self-destruct in 5 seconds :P

Access rights to the repo

Problem pushing bulk changes to the repo. Refer the below image

(py37) file_organizer (better-boy)$ git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	modified:   README.md
	modified:   fileorganizer_linux.py
	modified:   fileorganizer_windows.py

no changes added to commit (use "git add" and/or "git commit -a")
(py37) file_organizer (better-boy)$ git add .
(py37) file_organizer (better-boy)$ git commit -m "modularized and formatted code accroding to pylint"
[master eb85e69] modularized and formatted code accroding to pylint
 3 files changed, 98 insertions(+), 55 deletions(-)
(py37) file_organizer (better-boy)$ git push origin master
Enter passphrase for key '/Users/better-boy/.ssh/id_rsa': 
ERROR: Permission to sreekaran16/file_organizer.git denied to Better-Boy.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.**

ERROR: Permission to sreekaran16/file_organizer.git denied to Better-Boy.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

@sreekaran16

Hence, I would be creating 2 PRs for 2 file changes. One for linux and windows.

Code formatting

This is a good use case. But for others to contribute, code should be properly formatted and modularized. Hence, I would like to take this task and raise a PR. Confirm pls

Delete Duplicates

extensiondict.py is riddled with duplicates from all the PRs I accepted, your task would require you to find and eliminate said duplicate keys.

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.