untar_di - Untar the directory from which the tar input is read from Standard Input
untar_dir | Directory |
The script untar_dir untars the directory from which the tar(1) input is read from Standard Input. The directory to create is specified in the tar input by the current directory `.'. During the copying the tar(1) input is redirected to a new temporarily directory. After the copying the old directory is moved to a backup name, the new temporarily directory is moved to its final destination and the backup is removed after the renaming.
This script is typically used at a remote host. It is a csh(1) shell script. This implies that (t)csh(1) users can define their environment at the remote host with the resource file $HOME/.cshrc.
csh(1), tar(1), tcsh(1)