mac copy command code example
Example 1: how to move file in the command line
% mv ~/Downloads/MyFile.txt ~/Documents/Work/MyFile.txt
Example 2: mac copy file to clipboard terminal
$ pbcopy < file.txt
% mv ~/Downloads/MyFile.txt ~/Documents/Work/MyFile.txt
$ pbcopy < file.txt