timhilde
-
Posts
4 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by timhilde
-
-
Is it possible to update this workflow: https://github.com/gillibrand/alfred-change-case
-
External script not running
in Workflow Help & Questions
Posted
I'm trying to get Alfred run the following external script:
export LC_CTYPE=C export LANG=C cd /Users/tim/Desktop/"Remove Annotations" for file in *.pdf do outname=`sed -e "s/\.pdf$/_.pdf/"<<<"$file"` pdftk $file output - uncompress | sed '/^\/Annots/d' | pdftk - output $outname compress finalname=`sed -e "s/\_\.pdf$/.pdf/"<<<"$outname"` mv $outname /Users/tim/Desktop/$finalname echo "$file: done" done
When running in from the Terminal it works fine, but Alfred seems to not do anything. The debugger doesn't say anything enlightening either. Maybe someone else can help me?