8000 GitHub - fiandev/sorten: light tools to sort all files on the folder
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fiandev/sorten

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sorten

a simple program to sorting all files on a folder.

how to usage

configuration & sorting rules

the rules of sorting can you see at index.js:6

const rules = {
  "./multimedia/images/@": "./*.{jpg,png,webp,gif,jpeg}",
  "./multimedia/videos/@": "./*.{mp4,mov}",
  "./multimedia/audios/@": "./*.{mp3,m4a}",
  "./files/archives/@": "./*.{zip,rar,tr.gz,7z,tar,tar.gz}",
  "./files/codes/@": "./*.{xml,html,css,js,jsx,tsx,ts,sql,md,json}",
  "./files/documents/@": "./*.{pdf,xlxx,docx,docs}",
  "./files/applications/windows/@": "./*.{exe,msi}",
  "./files/applications/android/@": "./*.apk",
  "./files/applications/linux/debian/@": "./*.deb",
  "./files/applications/bootables/@": "./*.iso",
  "./files/transfers/@": "./*.torrent",
  "./others/@": "./*.{bak,txt}",
};

getting started

  1. first you need to create a symlink using npm (or any nodejs package manager)
npm link
  1. enter your destination you will sort
  2. run the sorten program
# use npm
npx sorten

# call the symlink directly
sorten

built with ❤️ by fiandev

About

light tools to sort all files on the folder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0