Search Results

Search: Posts Made By: kk17
5,983
Posted By kk17
Unix Commands to check a file is compressed or not?
Hi,

I need to find out whether a file is compressed or not and based on that i need to compress that file and move it to archive folder.

say for e.g:

If file is compressed then
...
2,259
Posted By kk17
thanks for your reply....it works fine with curly...
thanks for your reply....it works fine with curly braces.

eval file$i=$outbound_dir/\$in_file$i
eval echo "filename is \$file$i"
eval temp_file=$outbound_dir/\$in_file$i

eval...
2,259
Posted By kk17
Hi Peterro,Formatted now. Can you pls have a look...
Hi Peterro,Formatted now. Can you pls have a look at it now.
2,259
Posted By kk17
Problem with dynamic variables outside the loop
Hi All,

Shell is ksh

I've given portion of the script here to explain the problem.

It will accept 2 input parameters .

in_file1=$1
in_file2=$2
outbound_dir=/home/outbound

for...
Showing results 1 to 4 of 4

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