[Previous]
[Next]
NAME:
qget
PURPOSE:
Copy files to user directory in SMEI tree on ips.ucsd.edu
CALLING SEQUENCE:
qget source_dir source_file_1 [source_file_2 source_file_3 ... ]
INPUTS:
source_dir source directory
Relative directory spec.
The files are copied to a directory on ips:
$SMEI/user/$USER/destination_dir
where environment variable $USER is the username of
the account from which the script is executed.
source_file_i file(s) to be copied with optional wildcard
EXAMPLE:
If logged in on any machine on account with user name phick
qget pro/drivers laserjet.pro
copies file laserjet.pro from ips into directory
$SMEI/user/phick/pro/drivers.
RESTRICTIONS:
The directory $SMEI/user/$USER must exist on ips.
The assumption is that every user with an entry in $SMEI/user
has an account with a username identical to the directory name.
PROCEDURE:
If logged in on ips the 'cp' command is used.
If logged in on any of the other boxes, 'scp2' is used (and user
will be prompted for a password).
MODIFICATION HISTORY:
JUL-2002, Paul Hick (UCSD/CASS; pphick@ucsd.edu)
[Previous]
[Next]
NAME:
qput
PURPOSE:
Copy files to user directory in SMEI tree on ips.ucsd.edu
CALLING SEQUENCE:
qput source_file_1 [source_file_2 source_file_3 ... ] [destination_dir]
INPUTS:
source_file_i file(s) to be copied with optional wildcard
OPTIONAL INPUTS:
destination_dir destination directory; default: null string
This is a relative directory spec.
The files are copied to a directory on ips:
$SMEI/user/$USER/destination_dir
where environment variable $USER is the username of
the account from which the script is executed.
EXAMPLE:
If logged in on any machine on account with user name phick
qput laserjet.pro pro/drivers
copies file laserjet.pro to ips in directory
$SMEI/user/phick/pro/drivers.
SEE ALSO:
qget
RESTRICTIONS:
The directory $SMEI/user/$USER must exist on ips.
The assumption is that every user with an entry in $SMEI/user
has an account with a username identical to the directory name.
PROCEDURE:
If logged in on ips the 'cp' command is used.
If logged in on any of the other boxes, 'scp2' is used (and user
will be prompted for a password).
MODIFICATION HISTORY:
JUL-2002, Paul Hick (UCSD/CASS; pphick@ucsd.edu)