Search Results

Search: Posts Made By: Jesshelle David
2,540
Posted By Jesshelle David
Hi, When i execute this line of code: ...
Hi,

When i execute this line of code:

find $DIRECTORY -type f -mtime +10 \( ! -name '*.gz' -exec gzip -f {} \; -o -mtime +365 -exec rm {} \; \)

i get no error, but the files do not get...
2,540
Posted By Jesshelle David
Compressing & removing files in a directory & subdirectory
Hi,

I want a simple line of code that will compress files within a directory specified (parameter) and its subdirectories and also i want to remove files which are exactly 365 days old from the...
5,505
Posted By Jesshelle David
here is the full code snippet: USERNAME="$1"...
here is the full code snippet:

USERNAME="$1"
export USERNAME
REMOTE_SERVER="$2"
export REMOTE_SERVER
LOCAL_DIRECTORY="$3"
export LOCAL_DIRECTORY
REMOTE_DIRECTORY="$4"
export...
5,505
Posted By Jesshelle David
How do i check if all parameters are set in bash?
Hi,

I have 4 parameters passed to my shell and i validate if all four are entered using the following snippet:
if [ $# -ne 4 ]
then echo "Not entered"
else echo "entered"
fi

I get the...
2,271
Posted By Jesshelle David
I have a modification log and comments which i...
I have a modification log and comments which i removed, hence 157 lines.

---------- Post updated at 10:21 PM ---------- Previous update was at 10:18 PM ----------



The tee commands append...
2,271
Posted By Jesshelle David
USERNAME="$1" export USERNAME ...
USERNAME="$1"
export USERNAME
REMOTE_SERVER="$2"
export REMOTE_SERVER
LOCAL_DIRECTORY="$3"
export LOCAL_DIRECTORY
REMOTE_DIRECTORY="$4"
export REMOTE_DIRECTORY
DIRECTION="$5"
export...
2,271
Posted By Jesshelle David
SFTP error in UNIX
I have this code snippet:
sftp $USERNAME@$REMOTE_SERVER -omode=ascii >> $LOG_FILEPATH/$LOG_FILENAME 2>&1
ls /+showall ...
6,800
Posted By Jesshelle David
Yes I use the server date! This worked thanks!...
Yes I use the server date! This worked thanks! Would love to have someone show me an awk command as well!
6,800
Posted By Jesshelle David
Copying multiple files and appending time stamp before file extension
Hi,

I have multiple files that read:

Asa.txt
Bad.txt
Gnu.txt

And I want to rename them using awk to

Asa_ddmmyytt.txt and so on
...
If there is a single command or more efficient...
1,984
Posted By Jesshelle David
Hi Don, Let me elaborate! These reports are...
Hi Don,

Let me elaborate! These reports are generated from a mainframe and sent to a UNIX box every hour! There are 5 reports as I mentioned earlier!

What I need to do is to concatenated me the...
1,984
Posted By Jesshelle David
Concatenation of files with same naming patterns dynamically
Since my last threads were closed on account of spamming, keeping just this one opened!

Hi,

I have the following reports that get generated every 1 hour and this is my requirement:

1. 5...
833
Posted By Jesshelle David
Concatenation script
Hi,

I have the following reports that get generated every 1 hour and this is my requirement:

1. 5 reports get generated every hour with the names "Report.Dddmmyy.Thhmiss.CTLR"...
845
Posted By Jesshelle David
Concatenation script
Hi,

I have the following reports that get generated every 1 hour and this is my requirement:

1. 5 reports get generated every hour with the names "Report.Dddmmyy.Thhmiss.CTLR"...
2,127
Posted By Jesshelle David
Concatenation of multiple files based on file pattern
Hi,

I have the following reports that get generated every 1 hour and this is my requirement:

1. 5 reports get generated every hour with the names "Report.Dddmmyy.Thhmiss.CTLR"...
1,002
Posted By Jesshelle David
Consternation of multiple file names based on naming pattern
Hi,

I have the following reports that get generated every 1 hour and this is my requirement:

1. 5 reports get generated every hour with the names "Report.Dddmmyy.Thhmiss.CTLR"...
853
Posted By Jesshelle David
UNIX/Linux help in concatenation of multiple reports
Hi,

I have the following reports that get generated every 1 hour and this is my requirement:

1. 5 reports get generated every hour with the names "Report.Dddmmyy.Thhmiss.CTLR"...
Forum: UNIX and Linux Applications 08-22-2016
2,876
Posted By Jesshelle David
Concatenation of different reports dynamically
Hi,

I have the following reports that get generated every 1 hour and this is my requirement:

1. 5 reports get generated every hour with the names "Report.Dddmmyy.Thhmiss.CTLR"...
Showing results 1 to 17 of 17

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