Linux Mint 18.3
Пробовал так:
and@and-work ~ $ gcp -rf 0 /dev/null
Traceback (most recent call last):
File "/usr/bin/gcp", line 679, in <module>
success,message = gcp.parseArguments()
File "/usr/bin/gcp", line 657, in parseArguments
self.__checkArgs(options, source_dir, args)
File "/usr/bin/gcp", line 309, in __checkArgs
self.__appendDirToList(abspath, full_dest_path, options)
File "/usr/bin/gcp", line 263, in __appendDirToList
os.makedirs(dest_path) #TODO: check permissions
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 20] Not a directory: '/dev/null/0'
and@and-work ~ $
Пробовал так:
and@and-work ~ $ sudo rsync -ah --progress 0 /dev/null
sending incremental file list
ERROR: destination must be a directory when copying more than 1 file
rsync error: errors selecting input/output files, dirs (code 3) at main.c(640) [Receiver=3.1.1]
and@and-work ~ $
Как мне скопировать мою папку «0»?