Two great uses for the cp command: Bash shortcutsJan 23, 2018, 05:00 (0 Talkback[s])
(Other stories by Chris Hermansen)
Last July, I wrote about two great uses for the cp command: making a backup of a file, and synchronizing a secondary copy of a folder.
Having discovered these great utilities, I find that they are more verbose than necessary, so I created shortcuts to them in my Bash shell startup script. I thought I’d share these shortcuts in case they are useful to others or could offer inspiration to Bash users who haven’t quite taken on aliases or shell functions.
0 Talkback[s] (click to add your comment)