Skip to content

Python script that replaces all the spaces with underscores in filenames of all the files in the specified folder

Notifications You must be signed in to change notification settings

DeusArtifex/Delete_All_Spaces

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Delete_All_Spaces

Python script that replaces all the spaces with underscores in filenames of all the files in the specified folder Project made with the purpouse of fixing some old directories with incorrect naming convention and out of boredom. Uses basic python file operations and command line arguments. Also some exception handling.

Usage

del_all_spaces.py -d [desired_path]

Help

-d Directory (required)

Used to specify the directory where the script will replace the filenames

Example:

del_all_spaces.py -d C:\Windows\System32

Created by Rafał "DeusArfifex" Kurek

About

Python script that replaces all the spaces with underscores in filenames of all the files in the specified folder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages