Skip to content

Python script to move files from inside folder to the base directory.

Notifications You must be signed in to change notification settings

nebbsie/immaculate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Immaculate

alt text

Immaculate is a directory cleanup tool. Use it to move files from within directories to the base directory. Immaculate also allows different parameter inputs. Such as only moving text files, video files, music files etc.

#Installation

Code Example

All Files

python immaculate.py all <dir>

This will do the same as above but to every file.

Film

python immaculate.py films <dir> or with filesize parameter python immaculate.py films 100 <dir>

This will search through the dir folder and look for all films in folders, they will be placed in the base folder of the directory tree. This is usefull when you have your movies in a folder, but as you add more you keep adding them into the movies folder as folder. This is a way of of automating the process of going into each folder and moving them. To the correct folder location(base of the directory tree). Using the film parameter will also mean it will check if the film is above a certain size. If no size are set with parameters it will use a default size of 400MB. To set a new size after films you need to add a paramenter of size after the films parameter this is in MB.

Installation

Currently not on pip.
Download the repo from github and run from command line making sure in the correct directory.

Usage

-python immaculate.py all <dir> All Files
-python immaculate.py films <dir> Films (default size)
-python immaculate.py films 100 <dir> Films (over parameter size)

Example of use

alt tag

About

Python script to move files from inside folder to the base directory.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages