NOAA

Geophysical Fluid
Dynamics Laboratory

Skip to: [content] [navigation]
If you are using Navigator 4.x or Internet Explorer 4.x or Omni Web 4.x , this site will not render correctly!

Vis > utilities > GFDL Visualization Guide: TkFind

GFDL Visualization Guide: TkFind

NAME

     TkFind - a GUI front-end for the UNIX find command

SYNOPSIS

     ~hnv/pub/tcl/tkfind [ -bgc color ] [ -fgc color ] [ -abgc color ] [ -selc
     color ] [ -menuc color ] [ -green ] [ -purple ] [ -gray ]

DESCRIPTION

     TkFind provides an graphical interface to  the  Unix  find  command,  and
     allows  you  to  locate  files based on their name, type, size, date, and
     owner.  Tkfind will give you a  list  of  filenames,  in  long  or  short
     format,  sorted  by  name, size, or date.  You can then apply commands to
     the results like grep, gzip, gunzip, compress, uncompress, cpio, and tar.
     The  cpio  and  tar  commands are particularly noteworthy since they have
     their own execution window.  This window allows these  operations  (along
     with  the  find)  to  be  saved  as  a  script.   You  can run the script
     immediately, at a specific time, or even submit it to NQS on the T90 as a
     batch job.  Also on the T90, TkFind creates scripts that know how to deal
     with files in the archive filesystem using the dmget and dmput  commands.
     See the on-line help menus in TkFind for a more information.  In order to
     start the program just enter the following:

        ~hnv/pub/tcl/tkfind

     There are versions for the SGIs and the T90, but not the Suns.  The files
     are accessible from the same locations on each system.

OPTIONS

     The only command-line options to  TkFind  are  for  changing  its  window
     colors.   By  default, TkFind tries to find out what kind of system it is
     running on and then uses a particular set of colors.   It  uses  a  green
     scheme for the Indigo2, a purple scheme for the Indigo and Personal Iris,
     and a gray scheme for every other system (such as the T90).   Colors  are
     specified  by either a name (refer to /usr/lib/X11/rgb.txt for a complete
     list) or a hexadecimal string of the form #rrggbb where  rr  is  the  red
     component, gg is the green, and bb is the blue.

     -bgc color     Sets the background color.
     -fgc color     Sets the foreground color.
     -abgc color    Sets the active background color.
     -selc color    Sets the selected color.
     -menuc color   Sets the menu highlight color.
     -green         Uses the green color scheme.
     -purple        Uses the purple color scheme.
     -gray          Uses the gray color scheme.

FILES

     ~hnv/pub/tcl/tkfind     - Wrapper around main source
     ~hnv/pub/tcl/tkfind.tcl - Main source
     ~hnv/pub/tcl/wish       - Tcl/Tk interpreter
     ~hnv/pub/tcl/tcllib/*   - Tcl library files
     ~hnv/pub/tcl/tklib/*    - Tk library files

AUTHORS

     find(1)

AUTHORS

     Programming and design by Hans Vahlenkamp (hnv@gfdl.noaa.gov) with  additional
     design   assistance   and   testing  by  John  Sheldon  (jps@gfdl.noaa.gov)  -
     Geophysical Fluid Dynamics Lab /  NOAA,  Princeton  University  Forrestal
     Campus.
smaller bigger reset
last modified: February 20 2004.