Script to rename filenames in a certain way. https://code.ivysaur.me/shunt-tags/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
mappu 00d2894c04 fix slash escaping in regex string literal 8 months ago
.gitignore finish hg->git migration 2 years ago
README.md doc: 3.1.0 changelog 2 years ago
shunt_tags fix slash escaping in regex string literal 8 months ago

README.md

shunt-tags

Script to rename filenames in a certain way.

shunt_tags shunt tags to the end of filenames, transforming [RELEASEGROUP] Title - Episode [CRC32].mkv into Title - Episode [RELEASEGROUP CRC32].mkv, in order to improve alphabetical sort ordering. The original goal has expanded into a large number of transforms with a comprehensive test suite.

Usage

Usage:
  shunt_tags [OPTIONS]
  
Options:
  -y  --accept                  Apply updates without prompting. (false)
  -d  --directory DIR           Set directory. (pwd)
      --display table|dump|none Choose display mode. ('table')
  -n  --dry-run                 Display proposed updates and exit. (false)
      --help, --usage           Display this message
      --interactive             Prompt whether to apply updates. (true)
  -q  --quiet                   Quiet mode hides scanning progress. (false)
  -qq --quiet2                  Equivalent to "-q --display none"
  -r  --recursive               Apply to subdirectories. (false)
      --test-suite              Run test suite and exit  
      --undo                    Display an undo script

Changelog

2018-09-30 v3.1.0

  • Apply titlecasing for all-lowercase filenames
  • Support quirks for [a-s] filenames
  • Fix an issue with running shunt-tags from the current working directory

2017-10-22 v3.0

  • Rewritten in PHP
  • Feature: Many more features now available via command-line arguments

2017-04-05 v2.0

  • Rewritten in bash, now requires linux ports of rren and pause
  • Feature: Support --graphical argument to relaunch itself under xfce4-terminal

201?-??-?? v1.5

  • Support additional filename transforms

2015-01-17 v1.0

  • Initial public release
  • Written in batch, requires rren in path