豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 935 Bytes

File metadata and controls

20 lines (17 loc) · 935 Bytes

OrderFileInator-Console

Handles and sorts files by extension

Description

This script, written in python, can manages files in a folder and sort them by extension. The program operates by copying and pasting files in properly folders.

Args

  • -r: Recursive mode, foreach folder enter and manage that files too.
  • -d: Delete files after copy.
  • -c: Force to create folder where copy the files. If they already exist, it replaces them.
  • -s: Replaces files that already exist in destination folders.
  • -f: The path of folder from which to retrieve the files.
  • -b: Next you must insert a number in byte. This excludes files bigger than the number.
  • -e: Insert the path of file that contains a list of extensions to exclude from the process. (In the file write one extension per line).
  • -l: Insert the path where you want to save the log of the process.

Usage

An example is:
OrderFileInator.py -c -b 1000000 -f ..\