Search Results

Search: Posts Made By: amarnath
1,922
Posted By amarnath
hi shereen, thanx for prompt reply, i read...
hi shereen,
thanx for prompt reply,

i read the link sent by u but its not giving me the solution.

my script is NOT giving me any error like "find: Argument list too long."

my problem is the...
1,922
Posted By amarnath
recognizing *.* in find
hi folks,
I am trying to write a script for deleting all the files which are older than "N" days from current directory.

CODE:
FileName="*.*"
NumDays=-1

echo $FileName
echo $NumDays
...
7,436
Posted By amarnath
thanx Hitori, but i am having problem that...
thanx Hitori,

but i am having problem that in the statement how to use it ??


find /home/amar -maxdepth 1 -name '*.*' -mtime 13

find /home/amar -name '*.*' -mtime 13 -maxdepth 1

find...
7,436
Posted By amarnath
options in FIND utility
hi folks,

I want to select all files older than 13 days from a specified directory
for that i used

find /home/amar -name '*.*' -mtime 13

but it gives me all the files from subdirectories...
22,014
Posted By amarnath
hi blowtorch, thax for reply, is there...
hi blowtorch,

thax for reply,

is there any limitation of a variable while storing string ??
22,014
Posted By amarnath
Problem in ksh script ( String comparison )
hi ,
i am trying to compre two strings

if [[ $var1 = $var2 ]] or if [[ "$var1" = "$var2" ]]

when the length of var1 is small (around 300-400 char ) it works fine

but when it is large...
Forum: AIX 07-13-2006
13,647
Posted By amarnath
Problem in ksh script ( String comparison )
hi ,
i am trying to compre two strings

if [[ $var1 = $var2 ]] or if [[ "$var1" = "$var2" ]]

when the length of var1 is small (around 300-400 char ) it works fine

but when it is...
Showing results 1 to 7 of 7

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