Search Results

Search: Posts Made By: vilibit
5,052
Posted By vilibit
The final version: cd $rootpath ls...
The final version:


cd $rootpath

ls -l|grep back_ |awk '/^d/ {print $NF}' |while read dir
do
cd ${rootpath}/${dir}
ls -l |awk '/^d/ {print $NF}' |while read subdir
do
tar cvf...
5,052
Posted By vilibit
I made little modification on rcdcwayx code, and...
I made little modification on rcdcwayx code, and is working fine now:


rootpath="/somefolder" # you can update here, if the backup folder are not under /
cd $rootpath
ls -l|grep back_ |awk...
5,052
Posted By vilibit
Yes. I have many backups with different dates and...
Yes. I have many backups with different dates and in each day is adding more.
I tested your script and something strange are happening:
- al folders beginning with back are processed ("back"...
5,052
Posted By vilibit
Thanks for your reply. I will try your script and...
Thanks for your reply. I will try your script and keep you posted.
5,052
Posted By vilibit
Archive different folders based on their names
This is my first post so ... be gentle:)
Hello I have several folders that are backed up daily in following format:

/back_YY.MM.DD/backup1/*
...
Showing results 1 to 5 of 5

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