Update README.md
This commit is contained in:
21
README.md
21
README.md
@@ -1,2 +1,21 @@
|
|||||||
# log-archive-tool
|
# Log Archive Tool
|
||||||
The tool to archive logs from the CLI with the date and time.
|
The tool to archive logs from the CLI with the date and time.
|
||||||
|
[Roadmap.sh project page](https://roadmap.sh/projects/log-archive-tool)
|
||||||
|
## Installation ##
|
||||||
|
```
|
||||||
|
git clone https://github.com/ami-chuu/log-archive-tool
|
||||||
|
cd log-archive-tool
|
||||||
|
chmod +x setup.sh
|
||||||
|
./setup.sh
|
||||||
|
```
|
||||||
|
## Usage ##
|
||||||
|
```
|
||||||
|
log-archive <log-directory>
|
||||||
|
```
|
||||||
|
## Output ##
|
||||||
|
```
|
||||||
|
Start archiving...
|
||||||
|
/var/log/nginx/access.log
|
||||||
|
/var/log/nginx/error.log
|
||||||
|
The archive has been saved at /var/log/log-archives/logs-archive_20251102_041057.tar.gz
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user