Search Results

Search: Posts Made By: Loc
5,845
Posted By Loc
I tried you code, "MadeInGermany" but it doesn't...
I tried you code, "MadeInGermany" but it doesn't work.

Here's the working code. The @ symbol means to go through all the element in the array.


#!/bin/bash
LOG_FILES=(
...
5,845
Posted By Loc
Thank you Chubler_XL works great. Sorry for being...
Thank you Chubler_XL works great. Sorry for being so vague

The previous code will tar up the files in "logs" directory but what if I want to tar up the files in multiple directories. I tried...
5,845
Posted By Loc
Script to Tar file in a specific Directory
I'm trying to write a Unix script that will go to a specific directory (/tmp/Sanbox/logs) and tar.gz all the log files in that directory and delete the original files that are older than 2 days. So...
Showing results 1 to 3 of 3

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