Search Results

Search: Posts Made By: Naveen_5960
1,231
Posted By Naveen_5960
pattern
Hi ,


One of the files one.txt has this information
one.txt
/pkgs/ABC/XYZ/filename.excl.xml.zip
/pkgs/ABC/XYZ/123/filename.txt.zip
/pkgs/ABC/filan2.abc.zip
/pkgs/pqr/filename5.xml.zip

i...
1,648
Posted By Naveen_5960
Tried with \*.zip, if [${Check[1]}] then ...
Tried with \*.zip,

if [${Check[1]}]
then
cp $viewing${Check[1]} $TEMP${Check[1]}
fi

and even the abs path too(without killing), even that did not work. Any other ideas Guys.

Please use...
1,648
Posted By Naveen_5960
copy files
Hi Team,

I am unable to copy the files, when i run the below script, i am getting error as file not present, not sure what i am missing.

# File to be looked upon

File_Pattern='*.zip'...
2,295
Posted By Naveen_5960
Substring
Hi


I use the below cmd to get the list of files that are modified than <temp> file in the <path> diretory

cmd:find <path> -name '*.zip' -type f -newer <temp> -print

i am getting all...
1,864
Posted By Naveen_5960
Hope i make sense. I use the below cmd to...
Hope i make sense.

I use the below cmd to get the list of files that are modified than <temp> file in the <path> diretory

cmd:find <path> -name '*.zip' -type f -newer <temp> -print

i am...
1,864
Posted By Naveen_5960
i have command that gives the complete path , i...
i have command that gives the complete path , i need just the files names
1,864
Posted By Naveen_5960
substring
hi ,

I have complete path
Sample:
/pkgs/Incoming/Completed/abc123_xyz.zip
/pkgs/Incoming/Completed/12_abcxyz.zip
/pkgs/Incoming/Completed/qwabcxyz.zip

i just need , so that i can copy these...
1,489
Posted By Naveen_5960
Strings in arrays
Hi There,

Code:
Number=10
i=1
while [ "${i}" -le "${Number}" ]
do
echo "$i"
Check[i]=`find $viewing -name $File_Pattern -type f -Print`
...
1,762
Posted By Naveen_5960
Thank you that worked great
Thank you that worked great
1,762
Posted By Naveen_5960
Arrays in UNIX
Hi there,

I have a small piece of code
i=1
Number=10
while [ "${i}" -le "${Number}" ]
do
echo "$i"
Check[i]=`cmd to give to me file name with path
...
1,573
Posted By Naveen_5960
This cmd is not looking into .ini,.cshrc ....ectc...
This cmd is not looking into .ini,.cshrc ....ectc files.and even not looking into sub directories.

egrep -li 'pattern' $`( ls -a /tmp/tmp1/*)` >> files2.txt

Naveen
1,573
Posted By Naveen_5960
Serach a pattern
Hi,

I am trying to find a particular patter in multiple UNIX files (also contain system files,hidden files and normal files)

i am now using
CMD: egrep -ali 'pattern' *

i am not getting the...
6
5,576
Posted By Naveen_5960
how do i source the .cshrc file in my script
how do i source the .cshrc file in my script
6
5,576
Posted By Naveen_5960
alias
Hi,

I have created alias in UNIX environment (ie in .cshrc file). But when i use the alias in the UNIX script, getting an error message as that is not found. But when i use that alias, outside the...
Showing results 1 to 14 of 14

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