The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

rmspaces - Remove lame spaces from file names

SYNOPSIS

rmspaces [options] filename [filename...]

Use -h for detailed help.

OPTIONS

-v, --verbose

Print information on each file rmspaces tried to apply substitutions on. This may be useful if you are using wildcards.

-f, --force

Force file overwrite if destiny file already exists.

-s, --separator

The character (or string) that will replace the spaces. Defaults to an underline character (_).

-t, --target

The character (or string) to be substituted. Defaults to a single space.

-h, --help

Print help message.

DESCRIPTION

This is a simple script to remove those anoying, lame, awful spaces from file names. Just add it to your PATH and run

    rmspaces FILENAME

Note that it could also be used to change multiple file names by using the --target and the --separator arguments. For example, if you have the following files in the current directory:

    march_report march_status march_updates

and you run

    rmspaces -t march -s 032017 *

Now you get

    032017_report 032017_status 032017_updates