Skip to content
Snippets Groups Projects
Name Last commit Last update
readme.md
run.sh
utils.sh

Bash - Organize Directory

Description

Moves files from indicated input folder to indicated output folder.

Organizes files by type.

Parameters

Args

  • First arg (required) - Expected to be the input directory.
  • Second arg (required) - Expected to be the output directory.

Flags

  • -b - Appropriately renames files with known "bad" file name prefixes and file extensions.
  • -no-exe - Skips handling of windows exe files.
  • -no-sort - Skips sorting of files into labelled subdirectories.