Server IP : 127.0.0.2 / Your IP : 13.58.219.150 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/bash-completion/completions/ |
Upload File : |
# bash completion for rsync -*- shell-script -*- _rsync() { local cur prev words cword split _init_completion -s -n : || return _expand || return 0 case $prev in --config|--password-file|--include-from|--exclude-from|--files-from|\ --log-file|--write-batch|--only-write-batch|--read-batch) compopt +o nospace _filedir return 0 ;; -T|--temp-dir|--compare-dest|--backup-dir|--partial-dir|--copy-dest|\ --link-dest) compopt +o nospace _filedir -d return 0 ;; -e|--rsh) compopt +o nospace COMPREPLY=( $( compgen -W 'rsh ssh' -- "$cur" ) ) return 0 ;; --compress-level) compopt +o nospace COMPREPLY=( $( compgen -W '{1..9}' -- "$cur" ) ) return 0 ;; esac $split && return 0 case $cur in -*) COMPREPLY=( $( compgen -W '--verbose --quiet --no-motd --checksum --archive --recursive --relative --no-implied-dirs --backup --backup-dir= --suffix= --update --inplace --append --append-verify --dirs --old-dirs --links --copy-links --copy-unsafe-links --safe-links --copy-dirlinks --keep-dirlinks --hard-links --perms --executability --chmod= --acls --xattrs --owner --group --devices --copy-devices --specials --times --omit-dir-times --super --fake-super --sparse --dry-run --whole-file --no-whole-file --one-file-system --block-size= --rsh= --rsync-path= --existing --ignore-existing --remove-source-files --delete --delete-before --delete-during --delete-delay --delete-after --delete-excluded --ignore-errors --force --max-delete= --max-size= --min-size= --partial --partial-dir= --delay-updates --prune-empty-dirs --numeric-ids --timeout= --contimeout= --ignore-times --size-only --modify-window= --temp-dir= --fuzzy --compare-dest= --copy-dest= --link-dest= --compress --compress-level= --skip-compress= --cvs-exclude --filter= --exclude= --exclude-from= --include= --include-from= --files-from= --from0 --protect-args --address= --port= --sockopts= --blocking-io --no-blocking-io --stats --8-bit-output --human-readable --progress --itemize-changes --out-format= --log-file= --log-file-format= --password-file= --list-only --bwlimit= --write-batch= --only-write-batch= --read-batch= --protocol= --iconv= --ipv4 --ipv6 --version --help --daemon --config= --no-detach' -- "$cur" ) ) [[ $COMPREPLY == *= ]] || compopt +o nospace ;; *:*) # find which remote shell is used local i shell=ssh for (( i=1; i < cword; i++ )); do if [[ "${words[i]}" == -@(e|-rsh) ]]; then shell=${words[i+1]} break fi done [[ $shell == ssh ]] && _xfunc ssh _scp_remote_files ;; *) _known_hosts_real -c -a "$cur" _xfunc ssh _scp_local_files ;; esac return 0 } && complete -F _rsync -o nospace rsync # ex: ts=4 sw=4 et filetype=sh