Commit 3b95f18b authored by Jonas Neugebauer's avatar Jonas Neugebauer

Updated Alfred utility scripts

parent 32e75117
# Converts any markdown file to html using
# CommonMark (http://commonmark.org) and copies all tags with
# tag (https://github.com/jdberry/tag/).
#!/usr/bin/env bash
# name: Compile CommonMark
# apps: Alfred, CommonMark, Markdown, Tag
# description: >
# Converts any markdown file to html using
# CommonMark (http://commonmark.org) and
# copies all tags with tag (https://github.com/jdberry/tag/).
# parameters:
IFS=" "
files="{query}"
for file in $files; do
......
#!/usr/bin/env bash
# name: Copy content
# apps: Alfred
# description: >
# Copies the content of the selected file
# to the clipboard.
# parameters:
cat "{query}" | pbcopy
#!/usr/bin/env bash
# name: List files
# apps: Alfred
# description: >
# Copies a list of all files in the selected
# folder to the clipboard.
# parameters:
ls -A -1 "{query}" | pbcopy
# Converts any markdown file to html using
# CommonMark (http://commonmark.org) and copies all tags with
# tag (https://github.com/jdberry/tag/).
#!/usr/bin/env bash
# name: Compile CommonMark to RTF
# apps: Alfred, CommonMark, Markdown, Tag
# description: >
# Converts any markdown file to rich text using
# CommonMark (http://commonmark.org) and copies all tags with
# tag (https://github.com/jdberry/tag/).
# parameters:
IFS=" "
files="{query}"
for file in $files; do
......
#!/usr/bin/env bash
# name: Prepend with creation date
# apps: Alfred
# description: >
# Prepends the selected filename with the creation date.
# parameters:
IFS=" "
files="{query}"
for file in $files
......
#!/usr/bin/env bash
# name: Prepend with modification date
# apps: Alfred
# description: >
# Prepends the selected filename with the date
# of the last modification.
# parameters:
IFS=" "
files="{query}"
for file in $files; do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment