07-21-2008
you can use -r option with rm command. Is this what you were looking for ?
- nilesh
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I am a shell-script newbie and am looking to synchronize certain files in two directory structures.
Both these directory-trees are in CVS and so I dont want the CVS directory to be copied over.
I want only .sh and .pl files in each subdirectory under these directory trees to be... (3 Replies)
Discussion started by: sharpsharkrocks
3 Replies
2. Shell Programming and Scripting
sorry guys can some please give me a hint how to achieve this in a slick oneliner?
delete files older than 5 minutes in specified directory (recursively)
peace (3 Replies)
Discussion started by: scarfake
3 Replies
3. UNIX for Dummies Questions & Answers
Greetings,
I need to delete all files that contain the word thumbs. Those files are spread all throughout sub-directories in a file directory tree.
Is there a script or single line command that will find all files with the word thumbs, and simply delete the file?
For example:
Delete... (4 Replies)
Discussion started by: ..Chris..
4 Replies
4. Shell Programming and Scripting
I have a script which generates recursively some files in folders for a given root folder.
I have checks for permissions and it works for all folders except one(i have 777 permission on it). When i try calling the script in problematic folder(problematic folder being root folder), script works as... (2 Replies)
Discussion started by: bb2
2 Replies
5. Solaris
Display the number of files in a directory and recursively in each subdirectory
To look something like below, for example
/var 35
/var/tmp 56
/var/adm 46
Any ideas how can we do this? :wall: (1 Reply)
Discussion started by: jakerock
1 Replies
6. Solaris
Display the number of files in a directory and recursively in each subdirectory
To look something like below, for example
/var 35
/var/tmp 56
/var/adm 46Any ideas how can we do this?
Got a sun cluser global mount point which takes ages to mount everytime, need to understand... (5 Replies)
Discussion started by: jakerock
5 Replies
7. Shell Programming and Scripting
I want to recursively cat the content of files in a directory e.g.
find /etc -type f -exec cat {} \;
But I want it to print the file name first and then the content. For example let's say /etc/statetab and /etc/colord.conf will be printed first then I want the output to look something like;
... (6 Replies)
Discussion started by: lewk
6 Replies
8. Shell Programming and Scripting
I love the -newerct flag for the Cygwin find command on windows.
Can I use "/usr/bin/find . -newerct '3 hours ago'" to conditionally copy a directory tree so that only the files in the directory tree that are younger than 3 hours are copied to my destination directory such that the directory... (4 Replies)
Discussion started by: siegfried
4 Replies
9. Shell Programming and Scripting
Hi.
I found many scripts in the web of achieving this.
But I like to use this one
find /EDWH-DMT03 -xdev -size +10000 -exec ls -la {} \;|sort -n -k 5 > LARGE.rst
But the problem is, why it still list out files with 89 bytes as the output? Is there anything wrong with the command?
My... (7 Replies)
Discussion started by: aimy
7 Replies
10. Shell Programming and Scripting
I need to copy a complete directory structure into a new location. But I want to have all files copied into one directory and leave out the directory structure. So all files must be placed in one directory. (4 Replies)
Discussion started by: ReneVL
4 Replies
LEARN ABOUT CENTOS
tixmeter
tixMeter(n) Tix Built-In Commands tixMeter(n)
NAME
tixMeter - Create and manipulate Tix Meter widgets
SYNOPSIS
tixMeter pathName ?options?
SUPER-CLASS
None.
STANDARD OPTIONS
The Meter widget supports all the standard options of a frame widget. See the options(n) manual entry for details on the standard options.
WIDGET-SPECIFIC OPTIONS
[-fillcolor fillColor] The color of the progress bar. [-text text] The text string to place inside the progress bar. If not specified,
then the text string will be the percentage value specified by the -value option. [-value value] A real value that specifies the progress.
Must be between 0.0 to 1.0.
DESCRIPTION
The tixMeter command creates a new window (given by the pathName argument) and makes it into a Meter widget. Additional options, described
above, may be specified on the command line or in the option database to configure aspects of the Meter widget such as its cursor and
relief.
The Meter widget can be used to show the pregress of a background job which may take a long time to execute.
WIDGET COMMANDS
The tixMeter command creates a new Tcl command whose name is the same as the path name of the Meter widget's window. This command may be
used to invoke various operations on the widget. It has the following general form:
pathName option ?arg arg ...?
PathName is the name of the command, which is the same as the Meter widget's path name. Option and the args determine the exact behavior of
the command. The following commands are possible for Meter widgets:
pathName cget option
Returns the current value of the configuration option given by option. Option may have any of the values accepted by the tixMeter
command.
pathName configure ?option? ?value option value ...?
Query or modify the configuration options of the widget. If no option is specified, returns a list describing all of the available
options for pathName (see Tk_ConfigureInfo for information on the format of this list). If option is specified with no value, then
the command returns a list describing the one named option (this list will be identical to the corresponding sublist of the value
returned if no option is specified). If one or more option-value pairs are specified, then the command modifies the given widget
option(s) to have the given value(s); in this case the command returns an empty string. Option may have any of the values accepted
by the tixMeter command.
BINDINGS
There is no bindings for the Meter widget.
KEYWORDS
Tix(n), Meter Widget
Tix 4.0 tixMeter(n)