Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- listimages

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
listimages
Synopsis
/infobank/programs/dbase/listimages/listimages.for
Description
  Program to create a list of InfoBank's images.

       
AUTHOR
  Clint Steele    12/21/2007


    
Reads
      read (90, '(q,a)', end = 99)
     *     ALineLength, ALine(1:ALineLength)
Writes
      write (91, '(a)') ALine(13:ALineLength)
Opens
      open (unit = 90,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'unknown',
     *      name = '/infobank/tmp/listimages.temp')
      open (unit = 91,
     *      access = 'sequential',
     *      form = 'formatted',
     *      status = 'unknown',
     *      name = '/infobank/tmp/listimages.sort')
Calls
      call system ('grep .gif$ '//
     *    '/infobank/programs/keep/infobank_files.keep | '//
     *    'grep -v infobank2 > 
     *    '/infobank/programs/dbase/listimages/gif.list')
      call system ('grep .jpg$ '//
     *    '/infobank/programs/keep/infobank_files.keep | '//
     *    'grep -v infobank2 > 
     *    '/infobank/programs/dbase/listimages/jpg.list')
      call system ('grep .tiff$ '//
     *    '/infobank/programs/keep/infobank_files.keep | '//
     *    'grep -v infobank2 > 
     *    '/infobank/programs/dbase/listimages/tiff.list')
      call system ('grep .tif$ '//
     *    '/infobank/programs/keep/infobank_files.keep | '//
     *    'grep -v infobank2 > 
     *    '/infobank/programs/dbase/listimages/tif.list')
      call system ('grep .pdf$ '//
     *    '/infobank/programs/keep/infobank_files.keep | '//
     *    'grep -v infobank2 > 
     *    '/infobank/programs/dbase/listimages/pdf.list')
      call system ('cat '//
     *    '/infobank/programs/dbase/listimages/*.list > 
     *    '/infobank/tmp/listimages.temp')
      call system ('/bin/sort /infobank/tmp/listimages.sort > 
     *    '/infobank/programs/dbase/listimages/images.all')
      call system ('/bin/rm /infobank/tmp/listimages.sort')

Skip footer navigational links

Coastal and Marine Science Centers:  Pacific   St. Petersburg   Woods Hole  
InfoBank   Coastal and Marine Geology Program   Geologic Information   Ask-A-Geologist   USGS Disclaimer  


Accessibility FOIA Privacy Policies and Notices

Take Pride in America logo USA.gov logo U.S. Department of the Interior | U.S. Geological Survey
URL: http://walrus.wr.usgs.gov/infobank/programs/dbase/listimages/listimages.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Sep 16 03:37:43 PDT 2013  (chd)