https://github.com/tylerrick/thin_out_backups
https://github.com/tylerrick/thin_out_backups
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tylerrick/thin_out_backups
- Owner: TylerRick
- License: mit
- Created: 2012-09-01T00:07:44.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2023-12-20T00:48:22.000Z (over 2 years ago)
- Last Synced: 2026-02-15T06:14:22.884Z (4 months ago)
- Language: Ruby
- Size: 30.3 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
- License: License
Awesome Lists containing this project
README
# thin_out_backups
Quickly and safely thin out a backups directory that's taking up too much hard disk space!
`thin_out_backups` will keep the specified number of backups in each frequency category (weekly,
daily, etc.) and delete the rest, keep the space requirements of your backups directory fairly
constant over time.
The files that you are thinning out don't have to be backups, but that is probably the most common
use case.
## Installation
$ gem install thin_out_backups
## Usage
$ thin_out_backups
## License
Copyright 2008, 2012 Tyler Rick
Released under the MIT license. See License file.
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
## Other names considered
* thin_out_backup_dir
* sparsen_dir
* sparsify_dir
* [rm_extra_copies](https://github.com/TylerRick/command-line/blob/master/bin/rm_extra_copies) (previously published under this name)
* prune_backups
* trim_dir