Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/splitbrain/sanity
- Owner: splitbrain
- License: gpl-2.0
- Created: 2010-06-12T13:09:21.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-06-12T13:10:46.000Z (over 14 years ago)
- Last Synced: 2024-10-05T13:16:09.429Z (about 2 months ago)
- Topics: perl, sanitization
- Language: Perl
- Homepage: http://www.splitbrain.org/projects/sanity
- Size: 102 KB
- Stars: 5
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: COPYING
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 dirsThe argument can be files and directories. WARNING: Directories will
be recurseively changed.
_____________________________________________________________________
sanity.pl - Sanitize Filenames
Copyright (C) 2003-2005 Andreas GohrThis 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