chadhs Posted June 25, 2013 Posted June 25, 2013 (edited) I've just created a new workflow for appending text to a specific text file. I personally use it for quickly capturing list items to a couple text files that I don't want to clutter up OmniFocus with. This one is almost trivial, but is the counterpart to my less trivial PrependText2File workflow. Script Logic: Creates a to the second timestamped backup under /tmp Verifies the backup is good via md5 matching before proceeding Appends your input to the original file You can find the workflow file and README here: https://bitbucket.org/chadhs/appendtext2file Here is a paste of the current README.md as well: # AppendText2File ## Alfred 2 workflow for appending text to a file ## Contact: chadhs@digitalnomad.im ## Credits: script & terrible placeholder icon by Chad Stovern ## Installation Instructions - double click the workflow file to install - edit the keyword input to your liking - edit the embedded bash script line that defines your target text file to append to (NO RELATIVE PATHS); look for this section: ############################# ## SET YOUR TEXT FILE HERE ## ############################# original="/Users/username/Dropbox/yourfile.txt" ### Optional Notification Support - if you'd like desktop notifications install terminal-notifier here: https://github.com/alloy/terminal-notifier/downloads ***NOT*** the ruby gem install ## Usage - activate alfred and type in your keyword - after your keyword type the exact text you want to append to your file - press enter to append ## Protips - install the plugin more than once and choose a different keyword to create shortcuts to append to multiple files - change the name of the workflow AND the keyword title for each file you install it for example keywords: apideas approjects apblog Edited June 25, 2013 by chadhs
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now