Update README.md & Fix #2
All checks were successful
/ test (push) Successful in 17s

This commit is contained in:
Aroy-Art 2024-03-06 15:46:44 +01:00
parent 933d3207db
commit e787514fc5
Signed by: Aroy
GPG key ID: 583642324A1D2070
2 changed files with 13 additions and 3 deletions

View file

@ -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 <directory_path>")
print("Usage: python rename_backslash.py <directory_path>")
else:
directory_path = sys.argv[1] # Get the directory path from command-line argument

View file

@ -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