Unix-namer is a Unix naming convention standardizer written in python 3
that converts file & directory names to a Unix-friendly naming convention.
- Pesky special characters are removed (
'
!
$
^
&
*
(
)
[
]
|
;
~
<
>
{
}
(
)
%
`
. ) - Hideous spaces are converted to underscores ( or specified field separator. )
- Optionally, you can convert to all lowercase ( Ken Thompson approved! )
- I spent the long July 4th weekend getting this far, I'll work on documention next.
- I'm working on a man document, and the wiki.
- Added
-f
option to specify field separator (default is underscore). - Added
-l
option to convert all directory and file names to lower case. - Added
-r
option to apply changes recursively. - Added
-i
option for in-place edit. Without this option, changes will only be printed to the terminal.- If you're going to make changes to file systems recursively...I want you to be sure!
- Added additional clarity on what changes will be made.
- If
-i
isn't provided the terminal will output the proposed changes.
- If
I'm a Linux system engineer. I took two Python classes in college and am NOT a qualified software engineer. USE THIS SCRIPT AT YOUR OWN RISK!