/Designs/Measuring_instruments/RMDS01A/SW/Tools/tidyup.sh |
---|
85,7 → 85,8 |
# create directory with observatory name, year, month and day if hasn't existed before |
[[ -d "$DAYDIR" ]] || mkdir -p "$DAYDIR" |
mv "$i" "$DAYDIR" |
# check if directory really exists (if fs is full it might not be created) |
[[ -d "$DAYDIR" ]] && mv "$i" "$DAYDIR" |
done |
echo -n "$OBSERVATORY$SLASH$YEAR$SLASH$MONTH$SLASH$DAY" > LAST |