Search Results

Search: Posts Made By: skcvasanth
19,591
Posted By
if [ ! -z `find /abcd/efgh -name "xxxx"...
if [ ! -z `find /abcd/efgh -name "xxxx" 2>/dev/null` ] ; then
some files found
else
no files
fi
8,351
Posted By radoulov
You could try something like this: perl...
You could try something like this:

perl -MFile::Find -le'
BEGIN {
$skip = {
"/home/apps/source" => 1,
};
$pat = qr/\.tar$/;
}
find {
wanted => sub {
...
Showing results 1 to 2 of 2

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