linux - scp gives "not a regular file" -
i have problem when using scp on linux, says "not regular file". looked @ other questions/answers that, can't find out what's wrong... wrote:
scp aa@aa:/home/pictures/file.fits . to copy file.fits aa@aa, /home/pictures current directory. tried without using /home/, didn't work neither...
do understand what's wrong?
i tested , found @ least 3 situations in scp return not regular file:
- file directory
- file named pipe (a.k.a. fifo)
- file device file
case #1 seems likely. if meant transfer entire directory structure scp use -r option indicate recursive copy.