Search Results

Search: Posts Made By: Stefano
2,437
Posted By Stefano
Hi Don, belove the full text of a bash script I...
Hi Don, belove the full text of a bash script I would use to manage a daily incremetal backup and delete the old ones. It should list - one after the other - Yearly, Montly, Weekly and Daily backups;...
2,437
Posted By Stefano
Hi Don and thank you so much for answer. I...
Hi Don and thank you so much for answer. I solved. The code posted is used, in that case, as a regular expression for a date in the format YYYY-MM-DD where YYYY is the current year, less the value of...
2,437
Posted By Stefano
Help - Bash Script
Hi All, is there someone that can help me to understand this short code:
ls ${BACKUPS_FOLDER} | egrep "$(date +%Y -d "${i} year ago")-[0-9]{2}-[0-9]{2}" |sort -u | head n- 1
In particular, I would...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 06:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy