rsync *.txt ./a
*.txt" failed: No such file or directory (2)
scp *.txt ./a
cp: *.txt: No such file or directory
# zsh 에서 다음과 같은 명령들을 noglob 으로 alias 해놨기 때문이다.
alias | rg noglob
bower='noglob bower'
fc='noglob fc'
find='noglob find'
ftp='noglob ftp'
globurl='noglob urlglobber '
history='noglob history'
locate='noglob locate'
rake='noglob rake'
rsync='noglob rsync'
scp='noglob scp'
sftp='noglob sftp'
# \로 alias 를 사용하지 않던가
\rsync *.txt ./a
\scp *.txt ./a
# unalias 를 해야 된다.
unalias bower 2> /dev/null
unalias fc 2> /dev/null
unalias find 2> /dev/null
unalias ftp 2> /dev/null
unalias globurl 2> /dev/null
unalias history 2> /dev/null
unalias locate 2> /dev/null
unalias rake 2> /dev/null
unalias rsync 2> /dev/null
unalias scp 2> /dev/null
unalias sftp 2> /dev/null
comments:
댓글 쓰기