Commit e10cd081 authored by Downloader's avatar Downloader

add update-deferred.sh

parent 3f9ad4eb
#!/bin/sh
# see ssh lav@spacerOC
exit 1
crdate()
{
shift 2
from="$1/last"
to="$1"
d="$(date "+%Y-%m-%d")"
[ -d "$to/$d" ] && return 1
cp -la "$from" "$to/$d"
}
# Создание и обновление архива
#etertimemachine update --link /var/ftp/pub/Etersoft/Sisyphus/Deferred /var/ftp/pub/Etersoft/Sisyphus/archive
crdate /var/ftp/pub/Etersoft/Sisyphus/archive
# Откладывание даты
#etertimemachine rotate --link /var/ftp/pub/Etersoft/Sisyphus/archive
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