News for hackers. Stuff that matters.
Re:Everything I googled in a week as a professional software... by cos2pi on Friday September 06, 2019 @01:48PM (#20897894)
I'm the same way with scp, I never remember the order and then it changes if you're uploading or downloading.

Also, an obligatory xkcd: https://xkcd.com/1168/

Re:Everything I googled in a week as a professional software... by dllthomas on Friday September 06, 2019 @02:11PM (#20898147)
I don't understand where the confusion is with scp. It's just like cp, except you have a syntax for making some of the arguments remote. It doesn't change the order, it always does semantically the same thing of moving something(s) somewhere.

This is not to criticize - we all have places our mental models break down unexpectedly. I'm just interested in how that's happening.

Re:Everything I googled in a week as a professional software... by heavenlyblue on Friday September 06, 2019 @03:07PM (#20898776)
I find scp really easy. rsync, on the other hand, is like tar to me.
Re:Everything I googled in a week as a professional software... by shiftpgdn on Friday September 06, 2019 @03:08PM (#20898785)
Easy way to remember extracting with tar is "eXtract Zee Files" -xzf.
Re:Everything I googled in a week as a professional software... by efreak on Saturday September 07, 2019 @02:15AM (#20902113)
I no longer have issues with tar since I found out that most systems I use don't need the compression format anymore, and are happy to figure it out themselves. Not sure if it works with compressing or not (I generally use 7z or zip), but you can just `tar -x[v]f` on anything, regardless of file extension, and tar will extract anything it supports.