https://github.com/xtream1101/bash-archive-weekly
https://github.com/xtream1101/bash-archive-weekly
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/xtream1101/bash-archive-weekly
- Owner: xtream1101
- License: mit
- Created: 2015-09-05T15:06:49.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-05T21:22:09.000Z (almost 11 years ago)
- Last Synced: 2025-11-02T14:12:58.483Z (9 months ago)
- Language: Shell
- Size: 137 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bash-archive-weekly
## Usage
$ ./archive_prev_week.sh [filename_prefix]
- Both paths need to be absolute
## Notes
- The filename will be in the following date format: `2015W35_2015-08-24_-_2015-08-30.tar.gz`
- This script archives the previous week of year [source: Week Numbers](http://www.epochconverter.com/date-and-time/weeknumbers-by-year.php)
- For example, during any day of week 23, this script will **always** archive week 22 data