diff --git a/PythonScripts/rename_backslash.py b/PythonScripts/rename_backslash.py index bc068d4..640af11 100644 --- a/PythonScripts/rename_backslash.py +++ b/PythonScripts/rename_backslash.py @@ -27,7 +27,7 @@ def replace_backslash(directory): if __name__ == "__main__": # Check if the correct number of command-line arguments is provided if len(sys.argv) != 2: - print("Usage: python script_name.py ") + print("Usage: python rename_backslash.py ") else: directory_path = sys.argv[1] # Get the directory path from command-line argument diff --git a/README.md b/README.md index 97b81f6..569d541 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,9 @@ This repo holds most of my random small scripts, configs, paws(blobs) * [Cura](#cura) * [Materials](#materials) * [Clas Ohlsson's PLA](#clas-ohlssons-pla) -* [ShellScripts](#shellscripts) +* [Python Scripts](#pythonscripts) + * [rename_backslash.py](#rename_backslash.py) +* [Shell Scripts](#shellscripts) * [24-bit-color.sh](#24-bit-colorsh) * [rsync-incremental-backups.sh](#rsync-incremental-backupssh) @@ -26,7 +28,15 @@ This repo holds most of my random small scripts, configs, paws(blobs) The material config file for Clas Ohlsson's PLA Materials -## ShellScripts +## Python Scripts + +### rename_backslash.py + +A script to replace backslashes(\) with ⧹ in filenames within a directory and its sub-directories. + +## Shell Scripts + +This folder has a loot of diffrent shell scripts for everything from automating stuff to toys. ### 24-bit-color.sh