[OMC] OMC paste date and time
OnMyCommand discussion
omc at abracode.com
Mon Sep 15 19:06:20 PDT 2008
I have an OMC script to add date.time to a file (works great):
mv __OBJ_PATH__
__OBJ_PARENT_PATH__/__OBJ_NAME_NO_EXTENSION__-`date +"%Y%m%d.%H%M%
S"`.__OBJ_EXTENSION_ONLY__
But I am unable to get a version to paste date and time into a
document the way I like.
This works but I would also like to suppress the trailing linefeed.
date +"%Y%m%d.%H%M%S" | pbcopy
[X] Paste Clipboard after Execution
Any idea on how to do this?
--
Bill
Santa Cruz, California
More information about the OMC
mailing list