Skip to content

Command line tool to rename files with spaces replacing them with '_'

License

Notifications You must be signed in to change notification settings

pabenito/space_rename

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

space_rename

Command line tool to rename files with spaces replacing them with '_'; individually, searching by pattern or an entire folder.

Usage

space_rename [OPTION] [INPUT]*

Note: the '*' symbol mean as many inputs you want.

Options

Help

Shows help.

space_rename -h

Recursive

Rename recursively in the specified directories.

space_rename -r [INPUT]*

Inputs

Individually

space_rename "file with spaces" # ./file with spaces -> file_with_spaces

Directory

space_rename dir_without_spaces

Rename its files.

space_rename "dir with spaces"

Warning: Rename the Directory itself and its files.

Patterns

space_rename "~/Dowloads/foo **"

Mixed

space_rename -r ~/Downloads "dir\ with\ spaces/foo\ **" "file\ with\ spaces"

Warning: Rename recursively in '~/Downloads' and in 'dir with spaces' also.

About

Command line tool to rename files with spaces replacing them with '_'

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages