Commit 8ab1cdbd authored by Danil Mikhailov's avatar Danil Mikhailov

dir name with millis

parent 0a837c3a
......@@ -5,7 +5,7 @@ EGET=/srv/danil/Projects/eget/eget
test_download(){
echo "Download $1"
MYDIR=./$(date +test-%H:%M:%S)
MYDIR=./$(date +test-%H:%M:%S.%M)
mkdir -p $MYDIR
MYFILE=$MYDIR/$(basename $1)
cd $MYDIR
......@@ -13,6 +13,7 @@ $EGET $1
cd -
file $MYFILE && echo OK || echo FAIL
#rm -rf $MYDIR
sleep 1
}
test_download ftp://updates.etersoft.ru/pub/people/danil/Victor.jpg
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment