[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh again



jorg wrote- 

Better command

  scp /home/whatever/file.jpg remote@hostname:/home/user/Pictures/ 
---

one thing that i've learned is that you should get in the habit when cping or mving is to add a ./ when copying, moving into a directory. 

i.e.
cp /home/lisi/downloads/whatever.jpg /home/lisi/pictures/./

all that means is basically this directory.  like the ../ meaning the directory one up.  
once you get into the habit of doing it you'll thank yourself especially once you start to get into funky namings of dirs that some people do on their computers.

especially once you start spanning miles instead of rooms.

take care
em


Reply to: