This Bash script automates file management tasks within a specified folder. It handles archiving, deletion of old files, and compression of large files.
To use the script, follow these steps:
- Clone the repository to your local machine.
- Navigate to the directory containing the script.
- Open the script in a text editor and customize the
foldervariable to point to the folder you want to manage. - Optionally, adjust the threshold values for file age and size.
- Run the script using Bash:
bash script.sh.
This script requires Bash to run. No additional dependencies are needed.
To install the script, simply clone the repository to your local machine
This Bash script provides a simple command-line interface for managing a todo list. You can add tasks, mark them as completed, list all tasks, and clear completed tasks.
- Add tasks to the todo list.
- Mark tasks as completed.
- List all tasks in the todo list.
- Clear completed tasks from the todo list.
-
Add Task: Add a new task to the todo list.
-
List Tasks: Display all tasks currently in the todo list.
-
Mark Task as Completed: Mark a specific task as completed.
-
Clear Completed Tasks: Remove all completed tasks from the todo list.
todo_list.sh: The main Bash script for managing the todo list.todo.txt: The file where tasks are stored.