HAL-FIND-BY-PROPERTY(1) General Commands Manual HAL-FIND-BY-PROPERTY(1)NAME
hal-find-by-property - find device objects by property matching
SYNOPSIS
hal-find-by-property [options]
DESCRIPTION
hal-get-property finds device object in the HAL device database by looking at device properties. For more information about both the big
picture and specific HAL properties, refer to the HAL spec which can be found in /usr/local/share/doc/hal/spec/hal-spec.html depending on
the distribution.
OPTIONS
The following options are supported:
--key The name of the property.
--string
String value of the property
--verbose
Verbose output.
--help Print out usage.
--version
Print the version.
RETURN VALUE
If devices matching the given property are found each UDI (Unique Device Identifier) is printed on stdout and the program exits with exit
code 0. If no devices are found or an error occured, the program exits with a non-zero exit code.
BUGS
Please send bug reports to either the distribution or the HAL mailing list, see http://lists.freedesktop.org/mailman/listinfo/hal on how to
subscribe.
SEE ALSO hald(8), lshal(1), hal-set-property(1), hal-get-property(1), hal-find-by-capability(1), dbus-send(1)AUTHOR
Written by David Zeuthen <david@fubar.dk> with a lot of help from many others.
HAL-FIND-BY-PROPERTY(1)
Check Out this Related Man Page
HAL-FIND-BY-PROPERTY(1) General Commands Manual HAL-FIND-BY-PROPERTY(1)NAME
hal-find-by-property - find device objects by property matching
SYNOPSIS
hal-find-by-property [options]
DESCRIPTION
hal-get-property finds device object in the HAL device database by looking at device properties. For more information about both the big
picture and specific HAL properties, refer to the HAL spec which can be found in /usr/share/doc/packages/hal/spec/hal-spec.html depending
on the distribution.
OPTIONS
The following options are supported:
--key The name of the property.
--string
String value of the property
--verbose
Verbose output.
--help Print out usage.
--version
Print the version.
RETURN VALUE
If devices matching the given property are found each UDI (Unique Device Identifier) is printed on stdout and the program exits with exit
code 0. If no devices are found or an error occured, the program exits with a non-zero exit code.
BUGS
Please send bug reports to either the distribution or the HAL mailing list, see http://lists.freedesktop.org/mailman/listinfo/hal on how to
subscribe.
SEE ALSO hald(8), lshal(1), hal-set-property(1), hal-get-property(1), hal-find-by-capability(1), dbus-send(1)AUTHOR
Written by David Zeuthen <david@fubar.dk> with a lot of help from many others.
HAL-FIND-BY-PROPERTY(1)
Afternoon,
I have a problem with the FIND and GREP commands working together.
The command that I am typing is this:-
find . -name *.sql -print --- This finds all files with an SQL suffix
I then want to examine all those files to check for the existence of a string in them.
I am... (2 Replies)
Hello,
I have a directory that contains about 50,000 files. I need to look for 1500 product id numbers amongst all 50, 000.
So far, I have managed to be productive by doing a
"find . -exec grep 'my_sku_number' {} \;" but it is SLOWWWW.
1/ I have tried this:
"find . -exec grep... (3 Replies)
Hi,
By default FIND command searches for matching files in all the subdirectories within the specified path.
Is there a way to restrict FIND command's search path to only the specified directory and NOT TO scan its subdirectories.
Any help would be more than appreciated.
Thanks and Regards (2 Replies)
Hi All,
I have a property in a file as:
property=value=a
If I use FS="=" then I want only first = to be considered as field separator and remaining as value
echo -e "property=value=a" | awk -F= '{print $2}'
ie my $2 should be value=a
Can anyone please help me with this. I need it in... (3 Replies)
Hi,
I have a doubt when searching files for the existence of a particular key.
I have a property file has data with key and value pair like below and i call it as property file.ini
here are the contents in File: popertyfile.ini
location.property=2
agent.method=begin
newkey=23
... (2 Replies)
Hello,
an easy question, I hope.
What would be the way to produce a result from the following find statement that would also include for each line in the output the details usually associated with the ls -ltr command?
Here is the find I am using:
find . -name "*.prg" -exec grep "test line" {}... (4 Replies)
Hi All,
I have a IF loop followed by THEN and a a closing FI.I am trying to find the matching 'FI' for 'IF'.I am wokring on modifying 2000 line code and its become extremely difficult to find the matching of 'IF' manually for on e of the block.
Can you guys throw some light please?
Thanks... (2 Replies)
Hi all,
is it possible using "FIND" command to find the age of the directories in a particular path, if more that 2 months of the folder age means its automatically triggered mail to ADMIN, like that.....
With Regards
Anish Kumar.V (5 Replies)
For reference i am still a newb at scripting, but i have what i think is a complex issue.
I need to run a FIND on / to identify all files and print them to >> $TEMPFILE
I need to avoid MVFS
I need to avoid /var/tmp/nastmp/
I was trying find / \( -type d -name nastmp -prune \) -a \( -fstype... (4 Replies)
This may be ludicrously easy to most people, but I've been scratching my head today trying to do it.
I'm archiving data on a OpenServer 5.0.6a box using a combination of FIND, CPIO and BZIP2.
What I'd like to do is archive a range of folders, but ignore some.
For instance, if I have 5... (1 Reply)