TODO
----
-- Auto sync git-annex at arquivo.sarava.org.
-- Cronjob for httracker.
- Include all sites already donwloaded by scuttler.
+- Support for other fetchers like youtube-dl.
local target="$MIRRORS/$hash"
mkdir -p $target
- chown -R $USER.$GROUP $target/
+ #chown -R $USER.$GROUP $target/
# We already got this one
if [ -f "$target/ok" ]; then
# Get each URL
httrack \
- --user $USER \
--depth=1 \
--purge-old=0 \
--index \
--cookies=1 \
--path ${target} \
-r${LEVEL} ${url}
+ #--user $USER \
#-e%${EXT_LEVEL} \
#-m$FILESIZE \
#--verbose