You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-p Create intermediate directories as required. If this option is not specified, the full path prefix of each operand must already exist. On the other hand, with this
option specified, no error will be reported if a directory given as an operand already exists. Intermediate directories are created with permission bits of
rwxrwxrwx (0777) as modified by the current umask, plus write and search permission for the owner.
But, currently its not comfortable works with ACD paths from bash scripts.. so
REMOTE_PATH="/Backup/somedir"
and next
if [ ! -z $REMOTE_PATH ]; then
REMOTE_DIRS=$(echo $REMOTE_PATH | sed 's#/$##' | awk -F "/" '{$1 = ""; print $0}' | xargs)
RPATH=""
for i in $REMOTE_DIRS; do
RPATH="$RPATH/$i"
acdcli --utf mkdir $RPATH &> /dev/null
done
Please implement true way to make remote dirs with -p switch.
Thanks.
The text was updated successfully, but these errors were encountered:
man mkdir says:
But, currently its not comfortable works with ACD paths from bash scripts.. so
and next
Please implement true way to make remote dirs with -p switch.
Thanks.
The text was updated successfully, but these errors were encountered: