Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/splitbrain/sanity

A Perl script to sanitize file names
https://github.com/splitbrain/sanity

perl sanitization

Last synced: about 1 month ago
JSON representation

A Perl script to sanitize file names

Awesome Lists containing this project

README

        

Syntax: sanity.pl [options]

This tool renames files back to sane names. It does so by replacing
spaces, german umlauts and some special chars by underscores.

If a renamed version of a file already exists the renaming will be
skipped.

Options:

-l convert to lowercase
-e extended cleaning (removes brackets as well)
-a convert all files - don't exclude hidden files and dirs

The argument can be files and directories. WARNING: Directories will
be recurseively changed.
_____________________________________________________________________
sanity.pl - Sanitize Filenames
Copyright (C) 2003-2005 Andreas Gohr

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of
the License, or (at your option) any later version.

See COPYING for details