Jump to content

Search the Community

Showing results for tags 'Terminal'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Alfred 3
  • Make the Most of Alfred
    • Discussion & Help
    • Bug Reports
    • Alfred Feature Suggestions
    • Themes
  • Alfred Workflows
    • Share your Workflows
    • Workflow Help & Questions
  • Alfred v2 Themes
  • Alfred Remote for iOS
    • Alfred Remote Discussion & Help
    • Remote Connection Troubleshooting


  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start




Website URL




  1. With the help of answers here I managed to make a workflow that uses Terminal to call a PHP script to delete a file on a remote server, getting the file name from the most recent item in the clipboard. I don't actually need to see the Terminal after the script has completed, but I can't seem to find a way to just run it in the background, or quit Terminal when done. Any suggestions welcome. Thanks
  2. I want to update a directory on my Raspberry PI and I want to use scp for this. I've got a keyword which initiates a Run NSAppleScript action. This applescript launches Terminal and it should enter a command. But it won't open Terminal. on alfred_script(q) tell application "Terminal" do script "scp -r /path/to/folder pi@" activate end tell end alfred_script This Applescript action works flawlessly when used with a normal ssh command like "ssh user@server.com". But it does not work with scp. Any ideas?
  3. Hey All, Looking for a solution on a very minor annoyance, I usually run a lot of shell commands from Alfred using the > prefix, which is great! Love it! However, when it executes the command it pops open terminal and runs the command and leaves another lingering window around which I find annoying. Does anyone know of a way to force Alfred to close the window it opens after the command is executed? Very rarely do I need the returned command's output. It's usually for firing off quick things like docker pulls, file moves, git commits and such. If I n
  4. I'm trying create a workflow to utilize the MacOS Say command. With this command, I'd like to queue up several paragraphs for it to speak and highlight the spoken paragraph. I'm close, but I'm running into issue with the clipboard management. It was my understanding that the /bin/bash scripts can queue commands up in sequence. In which case the below code should execute like this; 1. Copy the query (which in my workflow is the selected text). 2. Open find in Safari 3. Paste the clipboard contents. 4. Say the selected text. It looks like the LAST copied t
  5. I love Packal, and I’ve grown to like awm, the CLI tool by Jonathan Wiesel. The response was not exactly overwhelming when Jonathan pushed awm out three years ago. But that was 2014, and since then CLI tools have gotten some traction, and today they are considered sexier than ever (I think). Anyway, I can’t stop dreaming of a version of awm that is ready for the year 2017. As a humble first step, I’ve just finished up three tiny PRs. They do absolutely nothing but remove the gunk from the `npm install` process. But hey, it’s a start! Regards,
  6. Hello, I want to create a basic workflow (I am a beginner): 1. Select a folder, and run "make" 2. To show as output if the command worked (e.g., there is a makefile in the folder), otherwise to say that the folder didn't have any make file. So, I have a file action (in this case a folder), and then a script (/bin/bash) with: cd "{query}" make But, nothing happens. Any ideas and suggestions on how to do this? Thanks so much! ![](https://dl.dropboxusercontent.com/u/18116710/Screenshots/Screenshot_2016-09-16_08.36.3.png)
  7. Hi, The new Alfred 3 Snippets are great - they replaced a lot of other text managers on my Mac. One question: is it possible to create Snippets so that they will run directly as terminal commands (rather than having to create a Workflow element for each Terminal command I want to run). Example: "> killall PrinterProcessor" If I create this as a Snippet, I can't find a way to get it into the Alfred window without copy n paste. What I'd like to be able to do is invoke my snippet list, type (for example) 'killall', choose the snippet "> killall PrinterProcessor" and
  8. As per this thread: http://www.alfredforum.com/topic/9287-send-snippet-directly-to-terminal/#entry46194 It would be great to be able to create Snippets so that they will run directly as terminal commands (rather than having to create a Workflow element for each Terminal command I want to run). Example: "> killall PrinterProcessor" If I create this as a Snippet, I can't find a way to get it into the Alfred window without copy n paste. What I'd like to be able to do is invoke Alfred's snippet list, type (for example) 'killall', choose the snippet "> killall PrinterProcessor" and hi
  9. terminal $open /Applications/Alfred\ 3.app -???=hoge alfred Search window |---------------------| |hoge | |---------------------| terminal $open /Applications/Alfred\ 3.app -???=abc alfred Search window |---------------------| |abc | |---------------------| Is there how to start?
  10. I've done a little workflow for iTerm 2 users. iTerm is a great Terminal program which includes the concept of 'profiles' - a profile is a collection of terminal settings which can include things like background colour, initial command to be executed, etc. As an example, I can open a new iTerm window which will ssh into my production web server, got to the main web directory, and has a red background to warn me I can do dangerous things here. This workflow uses a Python script to extract a list of your iTerm profiles, and a bit of Applescript to tell iTerm to start up the selected o
  11. I have created a small workflow that uses a File Filter to match the name of a directory (public.folder), and then open it in Finder when pressing Enter. However, I also want to open Terminal and go to that path (cd ~/my/folder). Is it possible to somehow paste the query result from the File Filter, into a Terminal Command, in the workflow?
  12. Terminal Green 1.0 Terminal White 1.0 Terminal Orange 1.0
  13. Hi! I have been a user of Alfred (+ Powerpack) for years, but only recently decided to invest more time into customizing it with the workflows I thought were helpful. As I am a software developer, I generally setup any new Mac OSX environment using a completely automated installer: https://github.com/kigster/pullulant I wanted to add to Pullulant a simple bash script for installing Alfred. I can install the software itself using Homebrew, and then I was hoping to download and install my favorite workflows. I have now spent over an hour searching online, and I am absolutely stunned
  14. Hi, I want to create a workflow to change the user in the Terminal app but I can't make the workflow wait for the Terminal ask for the password and just then write it . I think what I need is a "wait next interaction from the computer" command or something like that.
  15. It would be great to have the possibility to "open" the folder in a terminal when using the "File Search / Navigation" feature (for example, by typing command-T when on a folder or file contained in the folder) and to choose which terminal application to use (iTerm or standard terminal).
  16. I guess I should first ask, is there an alfred workflow to smoothly interact with emacs in terminal (not the emacs gui/application)? And now, please excuse my lack of general knowledge: I currently have a very simple workflow set up that browses alfred and runs the terminal command "emacs {query}" on enter. I was wondering how hard it would be to make a workflow that checks if terminal is already open with emacs running, and if so, actually open the query as a buffer in emacs. Another question, kind of related to this (so that i could do "emacs .emacs" and such): I understand Alfr
  17. Hello, I'm using Alfred with the powerpack for a while now and still have issues with the '>' command which should open up Terminal or iTerm and run the given command. For example: when I type: > cd ~/Desktop It only open up iTerm. It doesn't matter which command I enter, only iTerm will start up. Also tried to make it work with Terminal, but same issue. Alfred version: 2.8 (414) OSX: 10.11.1 (15B42) iTerm: 2.1.4 Screenshots: Step 1: Opening Alfred and enter the command (https://www.dropbox.com/s/v8ut3we5q8lvj1p/Screenshot%202015-11-14%2019.35.20.png) Step 2: Alf
  18. I want to make a workflow that opens several tabs in a Terminal window, each doing something different. I discovered this ttab project that seems to do what I want, but it's not working correctly in my Workflow. When I enter a Terminal command as simple as ttab postgres -D /usr/local/var/postgres, the Workflow keeps executing the command over and over in new tabs, creating a race condition. How can I get this to run the command once and stop? Or is there a better way in a Workflow to to open new Terminal tabs and execute commands within them?
  19. In Terminal.app Preferences, I have the "Shells open with" property set to the custom "/opt/local/bin/bash" (rather than default login shell). However, if I then enter something like > echo foo in Alfred, this opens a new Terminal window but does not execute the command as it should. Alfred version: v2.8 (414) Mac OS X version: 10.10.5
  20. Hello, I use iTerm.app instead of Terminal.app. But it's not working. When I set Alfred to use Terminal.app and call the "Open Terminal here" action on a specific file, this file will be opened in Terminal correctly using the correct path pattern, e.g. /Users/username/Documents/file But when I set Alfred to use iTerm, nothing happens. I have inserted this Script: on alfred_script(q) tell application "iTerm.app" activate do script q end tell end alfred_script I tried to leave the quotes and .app suffix or both, but no result. Would be very happy if anybody could help me with t
  21. So some odd behavior when using the > trigger to send a Terminal.app command via Alfred. How to replicate: Send a command to Terminal.app via Alfred (e.g. >top) When Terminal.app opens with top running, open a new tab (⌘+t) Note that the new Terminal.app tab opens and also automatically executes top I've verified that if you open Terminal.app, run a command, then open a tab, the first tab's command is not automatically executed in the new tab. Cheers, Andrew Alfred, 2.7.1 (387) System Version: OS X 10.10.4 (14E46) Kernel Version: Darwin 14.4.0 Boot Volume: Macinto
  22. Hi Team, I seem to be having a bit of an issue that has cropped up in the last few weeks, I am not sure exactly when it started but the symptoms are this: 1. When I try to execute a terminal command with '.< command >' or a workflow tries to execute a terminal command... if I don't already have iTerm open, nothing happens at all. 2. If I manually open iTerm and have it running in the background... everything runs fine. This seems to occur across all three of my Macs. Versions: iTerm2 2.1.1 OSX: 10.10.4 Alfred: 2.7.1 (387) I have had a look and turned on all info for one
  23. I was sitting there in iTerm thinking "wouldn't it be great if I could talk to Alfred directly from the terminal"? bash completion, etc. I'm not sure how to get this done; I was hoping for some guidance by the authors. Alfred's AppleScript library only exposes a few functions. If I wanted to use completion, I'd need a list of all of its keywords. However, if that list existed, I'm sure I could work something out. It'd be pretty awesome. Chris
  24. Here is a simple workflow the combines several basic (and frequently used) commands to help speed up your processes. There are several other workflows that do one or a couple of these... but I just combined them into one. Keyword Trigger run followed by: purge, flush, ip, show or hide, finder, dock or ow purge - frees up RAM flush - flushes your DNS ip - shows your public IP show - shows hidden files hide - hides file that should be hidden finder - relaunches the Finder.app dock - relaunches the Dock ow - relaunches the Finder.app and clears out the Open with Menu to only show
  25. Hi everyone, I bought the Powerpack to be able to run commands in Terminal. However, it's not working . . . I have the prefix set to '>' and when I type '>' into Alfred it indicates that it will run the command in Terminal. But if I type, for instance, '> pwd', instead of opening a Terminal window and running the command 'pwd' as it should, it just opens the Terminal window. Am I doing something wrong??
  • Create New...