Search Results

Search: Posts Made By: Balraj
2,308
Posted By Balraj
Find command with Metacharacter (*) Should match exact filename
Hi,
Below is list of files in my directory.

-rw-rw-r--. 1 Roots Roots 0 Dec 26 06:58 12345_kms_report.csv
-rw-rw-r--. 1 Roots Roots 0 Dec 26 06:59 12346_kms_report.csv
-rw-rw-r--. 1 Roots...
13,922
Posted By Balraj
Hi RudiC, I tried to form the command . below...
Hi RudiC,
I tried to form the command . below is what I tried.

find /home/gxcare_user/test -maxdepth 1 -type f -name "zzz_*" | sed 's!.*/!!'| zip name.zip -@


But I dont know how to...
13,922
Posted By Balraj
How to zip csv files having specific pattern in a directory using UNIX shell script?
I have files in a Linux directory . Some of the file is listed below

-rw-rw-r--. 1 roots roots 0 Dec 23 02:17 zzz_123_00000_A_1.csv
-rw-rw-r--. 1 roots roots 0 Dec 23 02:18 zzz_121_00000_A_2.csv...
6,952
Posted By Balraj
Hi jim mcnamara, Thank you for pointing out...
Hi jim mcnamara,
Thank you for pointing out the problem in my code. I removed all unnecessary lines as you suggested. Still I'm getting same error. I'm posting my entire shell script code below.
...
6,952
Posted By Balraj
How to call Oracle function with multiple arguments from shell script?
Dear All,
I want to know how can i call oracle function from shell script code . My oracle function have around 5 input parameters and one return value.

for name in *.csv;
do
echo "connecting...
Showing results 1 to 5 of 5

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