Jpp
18.5.0
the software that should make you happy
|
Go to the source code of this file.
Functions | |
then fatal Invalid path $argv[1] fi | if (($ID==0)) |
then fatal Invalid detector identifier $argv[2] fi | if (($RUN==0)) |
then | if (($A_COUNTER > $COUNTER)) |
then fatal File $OUTPUT_FILE already exists fi cp p $INPUT_FILE $OUTPUT_FILE | if (($?==0)) |
Variables | |
script | |
then usage $script< path > < detectoridentifier >< run > < type >< outputfile > nUtility script to retrieve file from archive nNote that extension from name of file in archive is taken fi case set_variable VERSION | $argv [5] |
let | ID =" $argv[2]" |
let | RUN =" $argv[3]" |
*fatal Wrong number of arguments esac | if [[!-d $DIR]] |
then fatal Invalid run $argv[3] fi setopt extendedglob typeset Z8 ID let | COUNTER |
then fatal No archive $DIR fi typeset T BUFFER ARRAY pushd $DIR eval ls $ID $TYPE | _ {VERSION}/\*/\*/\* 2> /dev/null | while read BUFFER |
do set_variable | A_ID |
then git check attr all $INPUT_FILE grep | filter |
then git lfs pull | exclude |
then fatal No corresponding file found in archive $DIR fi | OUTPUT_FILE |
then fatal File $OUTPUT_FILE already exists fi cp p $INPUT_FILE $OUTPUT_FILE if | ( | ($?==0) | ) |
script |
Definition at line 5 of file getFile.sh.
set_variable OUTPUT_FILE $argv[-1] |
Definition at line 19 of file getFile.sh.
let ID =" $argv[2]" |
Definition at line 21 of file getFile.sh.
let RUN =" $argv[3]" |
Definition at line 22 of file getFile.sh.
Definition at line 24 of file getFile.sh.
then let COUNTER |
Definition at line 44 of file getFile.sh.
then fatal No archive $DIR fi typeset T BUFFER ARRAY pushd $DIR eval ls $ID $TYPE _ {VERSION}/\*/\*/\* 2> /dev/null | while read BUFFER |
Definition at line 55 of file getFile.sh.
do set_variable A_ID |
Definition at line 57 of file getFile.sh.
then git check attr all $INPUT_FILE grep filter |
Definition at line 80 of file getFile.sh.
then git lfs pull exclude |
Definition at line 81 of file getFile.sh.
Definition at line 94 of file getFile.sh.