07-02-2006
Please read the rules and do not cross-post.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i am having a problem with writing a shell script to back up files for a specific month. the month and year are specified as paramters. so a backup of all the files modified during the specified month have to be made. for example if specify 200406 as my parameter, it should back up files that have... (3 Replies)
Discussion started by: problems
3 Replies
2. Solaris
hello
i need a way to list files modified in a specific month and move them to a specific directry , i mean somthing like :
find . -modifiedtime "May" -print -exec /usr/bin/mv newdirectory
thank u (1 Reply)
Discussion started by: omer_ome
1 Replies
3. UNIX for Advanced & Expert Users
hello
i need a way to list files modified in a specific month and move them to a specific directry , i mean somthing like :
find . -modifiedtime "May" -print -exec /usr/bin/mv newdirectory
thank u (1 Reply)
Discussion started by: omer_ome
1 Replies
4. Shell Programming and Scripting
Hi All,
I am using the below command to check the files modified within last 24hours
find /home/karthik -mtime -1 -type f -exec ls -l {} \;
What parameter do i need to add in the above command to check the files modified in last 2 or 3 days
Kindly let me know if any other alternative... (2 Replies)
Discussion started by: karthikn7974
2 Replies
5. Shell Programming and Scripting
hello all im a newbie in the linux world ..i have just started creating basic scripts in linux ..i am using rhel 5 ..the thing is i wanted to create a find script where i could find the last modified file and directory in the directory given as input by the user and storing the output in a file so... (6 Replies)
Discussion started by: tarunicon
6 Replies
6. UNIX for Dummies Questions & Answers
hi,
I need to find all the modified files before 60 minutes in a folder.
Is that possible to find using mtime in minutes?
Suggestions please.
Thanks for looking into it...
Geetha (8 Replies)
Discussion started by: iamgeethuj
8 Replies
7. UNIX for Dummies Questions & Answers
Hello all - I've looked and have not been able to find a "find" command that will list the last modified date of files within a specific directory and its subdirectories. If anyone knows of such a command it would be very much appreciated!
If possible, I would like to sort this output and have... (5 Replies)
Discussion started by: MichaelH3947
5 Replies
8. Shell Programming and Scripting
Hello All,
I am trying to come up with a shell script to count a specific word in a logfile on each day of this month, last month and the month before. I need to produce this report and email it to customer.
Any ideas would be appreciated! (5 Replies)
Discussion started by: pnara2
5 Replies
9. UNIX for Advanced & Expert Users
Hi All,
I need to find all files other than first two files dates & last file date for month and month/year wise list.
lets say there are following files in directory
Mar 19 2012 c.txt
Mar 19 2012 cc.txt
Mar 21 2012 d.txt
Mar 22 2012 f.txt
Mar 24 2012 h.txt
Mar 25 2012 w.txt
Feb 12... (16 Replies)
Discussion started by: Makarand Dodmis
16 Replies
10. Shell Programming and Scripting
Hi,
I need to delete 3 month old files in my logpath. This path contains several logs and other important files
The file names are be like this
sl_details.env
tomcatfiles_03062014.log
application_zur_03.062014.log
I need to delete only tomcatfiles logs. I wrote this command.
can... (7 Replies)
Discussion started by: nag_sathi
7 Replies
LEARN ABOUT MOJAVE
crosshair
crosshair(n) Crosshairs crosshair(n)
__________________________________________________________________________________________________________________________________________________
NAME
crosshair - Crosshairs for Tk canvas
SYNOPSIS
package require Tcl ?8.4?
package require Tk ?8.4?
package require crosshair ?1.0.2?
crosshair::crosshair w ?arg...?
crosshair::off w
crosshair::configure w ?arg...?
crosshair::track on w cmdprefix
crosshair::track off w
_________________________________________________________________
DESCRIPTION
The crosshair package provides commands to (de)activate and track crosshairs on canvas widgets.
API
The following commands are exported to the public:
crosshair::crosshair w ?arg...?
This command activates the display of a pair of cross-hairs for the canvas widget w. The cross-hairs track the pointing device. The
result of the command is the empty string.
All arguments after the widget w are treated as options as for a canvas line item in w. Of particular interest are -fill and -dash.
crosshair::off w
This command removes the cross-hairs from the canvas widget w. Nothing is done if the widget had no cross-hairs. The result of the
command is the empty string.
crosshair::configure w ?arg...?
This command changes the appearance of the cross-hairs in the canvas widget w. It is an error to call it for a canvas which has no
cross-hairs.
All arguments after the widget w are treated as options as for a canvas line item in w. Of particular interest are -fill and -dash.
The result of the command are the current configuration settings.
crosshair::track on w cmdprefix
This command activates reporting of the location of the cross-hairs in the canvas widget w. It is an error to use this command for a
canvas which has no cross-hairs. The result of the command is the empty string.
After the invokation of this command the specified command prefix cmdprefix will be called whenever the mouse moves within the can-
vas, with 7 arguments. These are, in order:
[1] The widget w
[2] The x-location of the cross-hairs, in pixels.
[3] The y-location of the cross-hairs, in pixels.
[4] The x-location of the top-left corner of the viewport, in pixels.
[5] The y-location of the top-left corner of the viewport, in pixels.
[6] The x-location of the bottom-right corner of the viewport, in pixels.
[7] The y-location of the bottom-right corner of the viewport, in pixels.
A previously existing callback for w will be disabled. I.e. per canvas widget with cross-hairs only one callback reporting their location
is possible.
crosshair::track off w
This command disables the reporting of the location of the cross-hairs in the canvas widget w. It is an error to use this command
for a canvas which has no cross-hairs. The result of the command is the empty string.
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category tklib ::
crosshair of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you
may have for either package and/or documentation.
KEYWORDS
canvas, cross-hairs, location, tracking, viewport
COPYRIGHT
Copyright (c) 2003 Kevin Kenny
Copyright (c) 2008 (docs) Andreas Kupries <andreas_kupries@users.sourceforge.net>
crosshair 1.0.2 crosshair(n)