Skip to content

Bash script for sorting files in the Downloads directory for Linux

License

Notifications You must be signed in to change notification settings

DesertFull-sql/sorted-files-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ—‚๏ธ sorted-files-linux

Smart Bash script organizm to automatically organize your downloads folder

โœจ Features

Auto-detection - Finds your downloads folder automatically

Permission checking - Verifies access before any operation

80+ formats - Images, Videos, Documents, Archives

5 categories - Clean organization system

Safe & fast - No dependencies, pure Bash

๐Ÿ› ๏ธ How It Works

Finds your downloads folder (~/Downloads or ~/downloads)

Checks you have read/write/execute permissions

Creates folders: Images/, Videos/, Documents/, Archives/, Others/

Sorts files based on their extensions

Moves each file to the appropriate folder

๐Ÿš€ Running the script

Make the script executable:

chmod +x organizm.sh

Run the script:

./organizm.sh

Organism will check your downloads folder and sort the files. The files will be moved to the appropriate folders: Images, Videos, Documents, Archives, Others.

To complete, wait for the message "The organism has finished sorting."

๐Ÿ“ Supported Formats

๐Ÿ–ผ๏ธ Images (19 formats)

.jpg, .jpeg, .png, .gif, .bmp, .webp, .svg, .ico, .tiff, .tif, .heic, .heif, .raw, .cr2, .nef, .psd, .ai, .eps, .pnm

๐ŸŽฌ Videos (20 formats)

.mp4, .avi, .mov, .mkv, .flv, .wmv, .webm, .m4v, .mpg, .mpeg, .mpv, .m2v, .3gp, .ogv, .vob, .rm, .rmvb, .asf, .mts, .m2ts

๐Ÿ“„ Documents (26 formats)

.pdf, .doc, .docx, .xls, .xlsx, .ppt, .pptx, .txt, .rtf, .odt, .ods, .odp, .csv, .tex, .md, .json, .xml, .yaml, .yml, .ini, .cfg, .conf, .log, .epub, .mobi, .azw

๐Ÿ—œ๏ธ Archives (23 formats)

.zip, .rar, .7z, .tar, .gz, .bz2, .xz, .tgz, .tbz2, .txz, .z, .lz, .lzma, .lzo, .rz, .sz, .zoo, .arj, .cab, .cpio, .deb, .rpm, .pkg


โš ๏ธ Requirements

- Linux operating system

- Bash shell

- Downloads folder named `Downloads` or `downloads`

Releases

No releases published

Packages

No packages published

Languages