I’ve created two copy commands for use in Terminal. I’m just saving and backing up two files from two different directories. I’d like to place them in a batch file and run them from a desktop icon—I used to do this in Windows. I’m new to MacOS, and I’m a bit bewildered by the different instructions on doing this from Google searches. Can someone please tell me how to create a batch file with these two copy commands for use in MacOS High Sierra? Thanks.
cp -av /Users/[UserName]/Library/Safari/Bookmarks.plist /Users/[UserName]/Documents/Backups
cp -av /Users/[UserName]/Library/Group\ Containers/UBF8T346G9.Office/User\ Content.localized/Templates.localized/Normal.dotm /Users/[UserName]/Documents/Backups
cp -av /Users/[UserName]/Library/Safari/Bookmarks.plist /Users/[UserName]/Documents/Backups
cp -av /Users/[UserName]/Library/Group\ Containers/UBF8T346G9.Office/User\ Content.localized/Templates.localized/Normal.dotm /Users/[UserName]/Documents/Backups