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

Re: ssh again



On 06/15/2016 10:00 AM, emetib wrote:
> 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
>

While I am taking note of this, what kind of problems does that
/seemingly/ redundant command do that differs from the above one?

- Leon


Reply to: