When you open terminal you are in your home folder.  Use just ~/documents/"time 
of Day.applescript" for the copy.  Note, if a file or
directory name contains spaces enclose it with quotation marks as shown.

That script is an example used in a key commander that comes with os10, so any 
new version overides your modified script of the same name.
You can change the name and make the change in the key commander.  Thus it will 
not be overridden.


On Tue, 9 Feb 2021, 'Robert Cole' via MacVisionaries wrote

> Dear List,
> I need help with this terminal copy file command.
> I need it to overwrite the existing file in the destination.
>
> cp ~ % /Users/robert/Documents/Time\ Of\ Day.applescript 
> ~/Library/Scripts/VoiceOver/
>
> Every time Mac OS updates, it replaces this file that I customized.
>
> Thank you,
> Robert
>
>
>

-- 
XR

-- 
The following information is important for all members of the Mac Visionaries 
list.

If you have any questions or concerns about the running of this list, or if you 
feel that a member's post is inappropriate, please contact the owners or 
moderators directly rather than posting on the list itself.

Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at 
caraqu...@caraquinn.com

The archives for this list can be searched at:
http://www.mail-archive.com/macvisionaries@googlegroups.com/
--- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to macvisionaries+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/macvisionaries/alpine.OSX.2.23.453.2102100947420.13919%40dans-mac-mini-2.home.

Reply via email to