Search Results

Search: Posts Made By: vilibit
16,303
Posted By vilibit
The input was hh:mm:ss format. In this case the...
The input was hh:mm:ss format.
In this case the start time was 08:09:10 and the end time was 08:09:20
16,303
Posted By vilibit
Problem solved
I promised to get back with results.
The danmero solution is working charmingly, although I'm not fully understand how it read previous line and compare with current one. The data from my file are...
16,303
Posted By vilibit
Thanks for reply. It is a very elaborate...
Thanks for reply. It is a very elaborate response. I'm eager to try your solutions. Unfortunately all my testing data are at work. I will test your script Monday and I will keep you posted. Thanks...
16,303
Posted By vilibit
Find time difference between two consecutive lines in same file.
Hello
I have a file in following format:

IV 08:09:07
NM 08:12:01
IC 08:12:00
MN 08:14:20
NM 08:14:15

I need a script to compare time on each...
5,048
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,048
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,048
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,048
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,048
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 9 of 9

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