9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have two files under two separate directories as in:
find . -name test.sh
./test.sh
./abc/test.sh
I want my find to only look for the file test.sh that is under the current directory and not one under /abc
How do I use prune to achieve this? I am on AIX (3 Replies)
Discussion started by: swasid
3 Replies
2. Solaris
I am into
cd /home/work/amey/history-*/
Under amey I have directories
history, history-1, history-2 and under history-2 I have got 2 files 3 and 2.
When I run the find command I get the below o/p.
find /home/work/amey/history-*/. -name . -o -prune -type f
/home/work/amey/history-1/.... (1 Reply)
Discussion started by: ameyrk
1 Replies
3. Shell Programming and Scripting
I am trying to find all .rhosts files on some unix systems. I tried just -name ".rhosts" but we have a lot of really large NFS and MVFS systems that I do not want to crawl and I am having a hard time excluding them. I also need to scan more than just /root /home and /users, so I really need to scan... (1 Reply)
Discussion started by: nitrobass24
1 Replies
4. UNIX for Dummies Questions & Answers
Hi
I am trying to list all files in every subdirectory from a given location. However, I realise that 1 folder will have files that I am not interested in. This is using a .csh file to execute
I have tried different scripts but to no avail. My current incarnation is below. Would someone be... (4 Replies)
Discussion started by: wonderbison
4 Replies
5. Shell Programming and Scripting
Hi,
i try to catch all files in a dir ,without going down in subdir , which don't have file extension and older than 10 days for example:
my dir :
drwxr-xr-x 7 notes01 notes 4096 Mar 8 14:11 .
drwxr-xr-x 116 root system 4096 Mar 9 11:17 ..
-rw-r----- 1 notes01... (4 Replies)
Discussion started by: Nicol
4 Replies
6. Shell Programming and Scripting
OK, I'm trying search and destroy tabs again.
This time I'm having trouble excluding certain directories from my search.
Here is what I have tried and it is not ignoring the top level build directory:
find . -path ./build -prune -name \*.java -o -print | xargs grep -i ' '
I don't... (6 Replies)
Discussion started by: siegfried
6 Replies
7. Shell Programming and Scripting
Hi,
I want to list files only from the current dir and its child dir (not from child's child dir).
i have the following files,
./ABC/1.log
./ABC/2.log
./ABC/ABC1/A.log
./ABC/ABC1/B.log
./ABC/ABC1/XYZ/A1.log
./ABC/ABC1/XYZ/A2.log
Here i want to list only the log file from current... (1 Reply)
Discussion started by: apsprabhu
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I am using a find command like below in my script:
find /outfiles -type f -name cat -o -name vi -o -name grep 2>/dev/null
Which will search for files like "cat" , "vi" or "grep" in the "/outfiles" and subdirectories.
I want to ignore a particular subdirectory from the search. I... (4 Replies)
Discussion started by: deepakgang
4 Replies
9. UNIX for Dummies Questions & Answers
I have a directory named https-abcd
Under that I have some directories, files and links.
One of those directories is with name logs and the logs directory has lot of files in it.
I need to tar the whole https-abcd directory excluding the logs directory only, I should get all the links, files and... (2 Replies)
Discussion started by: venu_nbk
2 Replies
TRAYER(1) General Commands Manual TRAYER(1)
NAME
trayer - a lightweight GTK2-based systray for UNIX desktop
SYNOPSIS
trayer -h
trayer -v
trayer [--edge left|right|top|bottom|none] [--align left|right|center] [--margin <size>] [--widthtype request|pixel|percent ] [--width
<size>] [--heighttype <pixel>] [--height <size>] [--SetDockType true|false] [--SetPartialStrut true|false] [--transparent true|false]
[--alpha <value>] [--tint <color>] [--distance <length>] [--distancefrom left|right|top|bottom|none] [--expand true|false] [--padding
<size>]
DESCRIPTION
trayer is a small program designed to provide system tray similar to these in GNOME / KDE desktop environments for window managers which
does not support that function. It is similar to other applications such as peksystray and docker.
System tray is a place, where many applications put their icons, so they are always visible. Such icons may present status of an applica-
tion and allow user to control the program.
trayer's code was extracted from fbpanel application, you can find more about it on its homepage: http://fbpanel.sourceforge.net/.
OPTIONS
This programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below.
--help
-h Show summary of options and exit.
--version
-v Show version of program and exit.
--edge left|right|top|bottom|none
Specifies a screen edge to use.
--align left|center|right
Specifies an align of the icons.
--margin <size>
Specifies length of margin (in pixels)
--widthtype request|pixel|percent
Specifies method of calculating trayer's window width:
request
Follow application icons' size, so trayer may shrink or expand dynamically.
pixel Set a fixed size, given with --width option in pixels.
percent
Set a fixed size, given with --width option in percentage of a length of screen edge.
--width <size>
Width of trayer's window. Ignored when --widthtype is set to request.
--heighttype request|pixel|percent
Specifies method of calculating trayer's window height:
request
Follow application icons' size, so trayer may shrink or expand dynamically.
pixel Set a fixed size, given with --height option in pixels.
percent
Set a fixed size, given with --height option in percentage of a length of screen edge.
--height <size>
Height of trayer's window. Ignored when --heighttype is set to request.
--SetDockType true|false
Identify panel window type as dock.
--SetPartialStrut true|false
Reserve panel space so that it will not be covered by maximized windows.
--transparent true|false
Use transparency.
--alpha <value>
Percentage of transparency (0 - nontransparent, 255 - fully transparent)
--tint <color>
Color used to tint transparent background. Color is given as a 24-bit C hexadecimal integer, for example: 0xff0000 is red, 0xff8800
is orange and 0x00ff00 is green.
--distance <length>
Specifies distance between trayer's window and screen edge (in pixels)
--distancefrom <edge>
Specifies which edge to calculate distance from, see above.
--expand true|false
Specifies whether trayer may accommodate extra space when there is too much icons.
--padding <size>
Extra space between icons and trayer window's border.
--monitor NUM|STRING
Define the monitor on which you like trayer to appear, number of zero to number of monitors minus one, or the string "primary" are
valid. The default value is 0.
SEE ALSO
fbpanel(1)
AUTHORS
Anatoly Asviyan <aanatoly@users.sf.net> - fbpanel
Rafal Bisingier <ravbc@man.poznan.pl>
Maciej Delmanowski <harnir@users.berlios.de>
Grzegorz Nieweglowski <hoppke@dobremiasto.net>
Thomas Rydzynski
This manual page was written by Tomasz Melcer <liori@interia.pl>.
FVWM-Crystal Feb 14, 2005 TRAYER(1)