Skip to content

A command line program which sorts files after its format.

Notifications You must be signed in to change notification settings

emilgab/python-filemagic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

python-filemagic

This command line program sorts files according to its format. You input files as command-line arguments, separting each file with a single space. The program will create a folder called "sorted" in the current working directory. Then, the program will create a folder for each unique format for the inputs inside the "sorted" folder.

How to

  1. Download the python script
  2. Place it in a directory
  3. Launch terminal or the command-line
  4. Write "python filemagic.py" followed by the files you want to sort
  5. Press "enter" and the program will do its job

Example command line code

python filemagic.py image1.png image2.png image3.jpg image4.tiff

Supported file formats

  • JPEG
  • PNG
  • TIFF
  • GIF

About

A command line program which sorts files after its format.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages