ISH

From oldwiki.scinet.utoronto.ca
Revision as of 09:25, 24 June 2011 by Pinto (talk | contribs) (Created page with "'''ish - inventory shell''' Browse the content of directories of tar files from local inventory files. Ramses van Zon - SciNet/Toronto/22-06-2011 Usage: ish -h|--help ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ish - inventory shell

Browse the content of directories of tar files from local inventory files.

Ramses van Zon - SciNet/Toronto/22-06-2011

Usage:

ish -h|--help                        -  Show this help
ish --version                        -  Show version number
ish [INDEXFILE]                      -  Interactive shell for INDEXFILE
ish [INDEXFILE] COMMAND              -  Perform single COMMAND on INDEXFILE

Shell commands:

help                                  -  Show available commands
use          INDEXFILE                -  Use INDEXFILE as index
ls    [-lr]  [DIR/[FILES]] ...        -  List FILES from DIR in index
find         PATTERN ...              -  Find files following PATTERN
cd           DIR                      -  Set current directory
pwd                                   -  Show current directory
lls/lcd/lpwd                          -  Local ls, cd and pwd
colour       1|0                      -  Set colour usage
index        DIR|TARFILE              -  Make index for local folder/tarfile
hindex       DIR|TARFILE              -  Make index for hpss folder/tarfile
tar   [-zcf] TARFILE DIR[/FILES] ...  -  Tar and make index
htar  [-cf]  TARFILE DIR[/FILES] ...  -  Htar and make index
(note: htar and hindex may not be available on this system)

Commmand line examples:

Local tar and gzip directory 'code':   ish tar -z code.tgz code
Long list of its content:              ish code.tgz.igz ls -l 'code/*'
Make index file for existing tar:      ish index another.tar
List its top level content:            ish another.tar.igz ls
List all of its content:               ish another.tar.igz ls -r
Find file 'hello.txt' in its content:  ish another.tar.igz find hello.txt
Make index file hsi.igz for hpss tree: ish hindex
Create index file for an htar file:    ish hindex data.tar