I creat a backlist with the files that I need to archive.
Then I want to tar those files but not sure how. Any suggestions?
for FILE in `find /dir/test/* -mtime +90`
do
echo $FILE >> backlist
continue;
done
for FILE in `find /dir/testb/* -mtime +90`
do
echo $FILE >> backlist
continue;
done
Then I want to tar those files but not sure how. Any suggestions?
for FILE in `find /dir/test/* -mtime +90`
do
echo $FILE >> backlist
continue;
done
for FILE in `find /dir/testb/* -mtime +90`
do
echo $FILE >> backlist
continue;
done