Siamkatze is a Python script designed to find and manage broken symbolic links within a specified directory.
-
Find Broken Symbolic Links: The main feature of Siamkatze is to identify and report broken symbolic links under the given directory.
-
Recursive Search: Siamkatze provides an option to perform a recursive search, allowing you to scan subdirectories for broken symbolic links.
-
Delete Broken Links: For added convenience, Siamkatze includes an option to delete the identified broken symbolic links.
python siamkatze.py [-r] [-d] [-v] directory_path
directory_path
: The path to the directory where Siamkatze will start searching for broken symbolic links.
-
-r, --recursive
: Enable recursive search to find broken symbolic links in subdirectories. -
-d, --delete
: Enable this option to delete the broken symbolic links found. -
-v, --verbose
: Enable verbose mode to display additional information.
To find and list broken symbolic links in the current directory, run:
python siamkatze.py .
To perform a recursive search and delete the broken symbolic links:
python siamkatze.py -r -d /path/to/directory
This project is licensed under the MIT License.
Contributions are welcome! Please check the contribution guidelines before making any contributions.
If you encounter any issues or have suggestions, please open an issue.