All Projects → franzheidl → Copy Paths To Clipboard

franzheidl / Copy Paths To Clipboard

Copy paths in a variety of formats to the clipboard with Alfred

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Copy Paths To Clipboard

Xcv
✂️ Cut, Copy and Paste files with Bash
Stars: ✭ 144 (+73.49%)
Mutual labels:  copy, clipboard
MagicWE2
[MagicWE2] Lag free asynchronous world editor for PMMP with plenty of options
Stars: ✭ 109 (+31.33%)
Mutual labels:  clipboard, copy
Vue Clipboard2
A simple vue2 binding to clipboard.js
Stars: ✭ 1,617 (+1848.19%)
Mutual labels:  copy, clipboard
alfred-string-operations
Perform string operations to clipboard content
Stars: ✭ 70 (-15.66%)
Mutual labels:  alfred, clipboard
Gotem
Copy to clipboard for modern browsers in less than 1kb.
Stars: ✭ 439 (+428.92%)
Mutual labels:  copy, clipboard
Clipboard Polyfill
📋 Simple copying on the web, with maximum browser compatibility.
Stars: ✭ 748 (+801.2%)
Mutual labels:  copy, clipboard
Piknik
Copy/paste anything over the network.
Stars: ✭ 2,221 (+2575.9%)
Mutual labels:  copy, clipboard
v-copy
Vue directive to copy to clipboard. (1kB)
Stars: ✭ 88 (+6.02%)
Mutual labels:  clipboard, copy
netflix-list-exporter
💫‎‎‎‏‏‎ An Extension to export your lists from Netflix to Clipboard area and share it with your friends.
Stars: ✭ 60 (-27.71%)
Mutual labels:  clipboard, copy
Clipboard Copy
Lightweight copy to clipboard for the web
Stars: ✭ 443 (+433.73%)
Mutual labels:  copy, clipboard
Copy To Clipboard
✂️ Modern copy to clipboard. No Flash.
Stars: ✭ 39 (-53.01%)
Mutual labels:  copy, clipboard
Locopy
locopy: Loading/Unloading to Redshift and Snowflake using Python.
Stars: ✭ 73 (-12.05%)
Mutual labels:  copy
Alfred Fuzzy
Fuzzy search helper for Alfred 3+ workflows
Stars: ✭ 67 (-19.28%)
Mutual labels:  alfred
Alfred3 Workflow Currencyx
Most convinent currencies converting tool for alfred3
Stars: ✭ 68 (-18.07%)
Mutual labels:  alfred
Enhanced Github
🚀 Browser extension to display size of each file, download link and copy file contents directly to the clipboard
Stars: ✭ 1,146 (+1280.72%)
Mutual labels:  clipboard
Alfred Cheat
Manage your self-defined cheat sheets & knowledge base in Alfred
Stars: ✭ 79 (-4.82%)
Mutual labels:  alfred
Clipboard Rails
clipboard.js javascript library integration for your Rails 4 and Rails 5 applications
Stars: ✭ 72 (-13.25%)
Mutual labels:  clipboard
Alfred Time
Start and stop tracking time with Toggl, Harvest, Everhour or Clockify through Alfred 4
Stars: ✭ 65 (-21.69%)
Mutual labels:  alfred
Play Song
An Alfred workflow for quickly and easily playing music in iTunes / Apple Music
Stars: ✭ 62 (-25.3%)
Mutual labels:  alfred
Diodon
Aiming to be the best integrated clipboard manager for the Gnome/Unity desktop
Stars: ✭ 60 (-27.71%)
Mutual labels:  clipboard

Copy Paths to Clipboard

Copy Paths to Clipboard Screenshot

Workflow for Alfred 2 and 3 to copy the paths of your current files and Documents to the clipboard in a variety of formats:

  • POSIX, HFS paths and file URLs
  • '~/'-shortened POSIX paths
  • quoted paths
  • comma- or newline-separated.

All options (except newline-separation) are available as File Actions also.

Usage

Invoke the scriptfilter by typing paths. If you are in Finder, the path(s) of your current Finder item(s) or selection will be copied to the clipboard, if you're in an other (document-based) application the path of your frontmost document will be copied. The scriptfilter will give you feedback as to how exactly your path will be copied upon actioning your input in the subtitle.

Options

Copy Paths to Clipboard Screenshot

By default and without using any of the options, paths will be copied as as-is slash-delimited POSIX paths:

/Users/UserName/Documents/File.txt

-hfs copies your path as an HFS path.

Macintosh HD:Users:UserName:Documents:File.txt

-url copies url-encoded file urls

file:///Users/franz/Documents/File.txt

-s '~/'-shortens paths under user home. Applies to POSIX paths only.

~/Documents/File.txt

-q copies paths with quotes. POSIX paths will be quoted using single quotes.

'/Users/UserName/Documents/File.txt'

HFS paths will be quoted using double quotes with -q.

"Macintosh HD:Users:UserName:Documents:File.txt"

-n will put each path on a new line if you have multiple paths.

/Users/UserName/Documents/File1.txt
/Users/UserName/Documents/File2.txt

By default, multiple paths will be comma separated.

/Users/UserName/Documents/File1.txt, /Users/UserName/Documents/File2.txt

All options can be combined. The scriptfilter subtitle will update the path as it will be copied as per your current options (if you're using -n, obviously only the first path will be visible)

File Actions

This Workflow also adds File Actions for all the options above except newline-separation. Each of these File Actions accept multiple items (use [alt]-[arrow-up] to add an item to your selection, [alt]-[arrow-right] to display File Actions for your selection of multiple items).

Copy Paths to Clipboard Screenshot

Changelog

June 17, 2015

Merged two PRs:

  • Add missing leading slash to POSIX paths
  • Fix unicode paths
November 15, 2014

Add option to copy as file urls, update icons to be slightly more Yosemite-like, change hfs option to '-hfs' (incl. the leading hyphen) to be consistent with the other options

August 23, 2014

Improve stability for applications other than Finder

June 18, 2013

Add support for paths containing non-ASCII/Unicode characters in the scriptfilter (use quoted option -q if you're copying such paths for the Terminal)

License

The MIT License (MIT)

Copyright (c) 2013 - 2014 Franz Heidl

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].