Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [copy-paste]

A powerful idiom where one object gets copied into a clipboard so that it can be pasted elsewhere.

0
votes
1answer
22 views

applescript : add clipboard content to list

Can I create a list from the clipboard? Let's say my clipboard is `name email phone and any random number of text Can the words be separated and added in a list? Also the item can be either text ...
1
vote
1answer
34 views

cp -R vs Super-duper vs CCC

I have my macOS user home on external TB drive. I'd like to keep copies on two different TB drives. Is there a difference between: cp -Rv /Volumes/extdrive/myhome /Volumes/extdrive2 and using ...
1
vote
3answers
52 views

move pdf through clipboard

$ cat scaswd.pdf| pbcopy $ pbpaste > astasd.pdf $ open astasd.pdf astasd.pdf cannot be opened, but scaswd.pdf is a valid pdf file. Is there a way I can stick a pdf onto my clipboard and paste it ...
3
votes
2answers
38 views

Copy and paste image in Safari

I have issues copying an image from website into clipboard and then pasting it on another website in Safari (e.g. Messenger or Facebook). When I click on an image with two-click and select Copy image ...
18
votes
6answers
2k views

Copy all the text of an entire `man` page from Terminal.app

I am reading a very long man page (man ssh). I want to save all of that text for more convenient reading in a text-editor. Unfortunately, choosing either of : Edit → Select All → Copy Shell → Export ...
1
vote
2answers
73 views

Copy/Paste from documents (PDF, docx) - weird behaviour of diacritics

When I copy text from PDF (Preview) or Docx (Pages) with Czech characters, some of the Czech characters get copied with their accent "stuck" to them. To make this even weirder, this behaviour is ...
0
votes
1answer
70 views

Automator SCRIPT NEED: Select part of name file, find file with containing name, then copy this in item in another folder

I have 3 folder: JPG folder: contains my modified JPG files, the name of file is (examples): DSC02996 20181027 201438 (LR).jpg RAW folder: contains my RAW files, the name of file is (examples): ...
0
votes
2answers
57 views

Paste files to multiple destinations

I get into this situation quite often but haven't found a solution. I have a group of CSS files in the clipboard that I need to paste + replace into several different destination folders. My folder ...
1
vote
1answer
87 views

Clone Time Machine volume

My backup disk is getting full, so I bought a bigger one and I'm trying to copy the backups to it (the current backup size is 1.5TB) I tried following the instructions in the official support ...
2
votes
2answers
99 views

Why does Mac OS overwrite whole folders rather than merging their contents?

I’ve noticed that if I have two folders of the same name but different files in each, copying one on top of the other (eg: from different parent locations) will cause the contents of the first folder ...
1
vote
1answer
87 views

How do I copy multiple files to macOS's clipboard programmatically?

I ultimately want to have a bash function to-clipboard which gets file paths and copies the files to the clipboard. Using other scripting languages as helpers is okay. I currently have this for ...
1
vote
0answers
46 views

Is there any way to make Universal Clipboard in High Sierra reliable?

I just don't find it reliable. Sometimes it works, sometimes it doesn't. I have a MacBook Pro (mid-2015), an iPad Air 2, and an iPhone XS. I've tried logging all of them out of the same iCloud account,...
1
vote
0answers
69 views

Glyphboard copy and paste not working on iPhone

Glyphboard is a fantastic website I've used for years to get quick access to characters that can't be typed from the standard iOS keyboard. Recently, when I tap a character in Glyphboard to copy it, ...
3
votes
2answers
152 views

Copy the first n files from one directory to another

Im looking to copy the first 'n' files from one directory to another directory preferably with only cli tools (no scripts). I've tried the following: find . -maxdepth 1 -type f | head -5 | ...
4
votes
1answer
93 views

Make Ctrl-k in Terminal copy to the system clipboard

I'd like whatever I last "cut" with Ctrl-k in Terminal to be available in my text editor when I hit Cmd-v. Is that possible? Or something close? Update with additional explanation: Ctrl-k is by ...
1
vote
1answer
24 views

Copy/Paste working inconsistently (El Capitan, Macbook Air)

I'm using a MacBook Air from late 2010 or so, and I've recently noticed that my copy/paste abilities have become significantly reduced. Within an app itself it usually works without a hitch, but ...
0
votes
0answers
22 views

How to modify Mac system-wide copy behaviour for highlighted text [duplicate]

I'm looking for a way to copy highlighted text without CommandC similar to terminal's mechanism (highlight to copy, mouse wheel click to paste). EDIT: In terminal app when you highlight a text it's ...
1
vote
0answers
130 views

Mac not copying and pasting between applications

Today, I found when I copy from one application into my clipboard, the clipboard cannot be pasted into another application. The next application has its own clipboard. If I paste into the first ...
1
vote
0answers
114 views

Clipboard doesn't work across applications anymore

Recently, I have noticed that ⌘ + c and ⌘ + v keyboard shortcuts no longer work like they used to. If I want to copy/paste something from Postman.app into Slack.app, for example, the clipboard will ...
0
votes
2answers
49 views

How do I transcribe an AppleScript?

I found an AppleScript example on a website that I want to use, and the example is rendered as text in the browser (vs., say, being a suitably formatted file to download). To use this AppleScript, I'...
0
votes
1answer
211 views

Firefox and Chrome do not share clipboard - what's wrong?

I seem to experience issues with clipboard - copying from Firefox into other apps works ok, but from Firefox into Chrome doesn't. Copying from other apps into Chrome behaves erratically. Any idea on ...
2
votes
1answer
216 views

Copy and paste a chain of items on Mac OS X?

Is there a way to copy a set of different items and then paste them in? The items have to go in separate boxes during a timed registration. For example, Is there a way to copy the numbers: 20102 21568 ...
1
vote
0answers
62 views

Wine & CrossOver failing to access clipboard on macOS High Sierra 10.13.4

I've searched all over the Internet for an answer but most were old (2010-2013) so they weren't applicable (since most were concerned with X11). Anyways, I'm running CrossOver 17.5 on macOS High ...
2
votes
1answer
183 views

Script copy the content of the clipboard into a file

I want to write a shell script which copies the contents of the clipboard (plain-text only) when the previous content changes. When I launch the script each time I copy something (so the content of ...
0
votes
0answers
49 views

Paste Image as Bitmap / Rasterized

I'm copying an image from MATLAB Figure which is copied as Vector Image. I want to paste it into ImgUr / Slack / Other Application (Which can accept Bitmap Data) as Bit Map (Rasterized image). In ...
1
vote
1answer
21 views

How to copy files in /Applications/* using Terminal?

# whoami root # pwd /Applications/Calendar.app/Contents/MacOS # cp Calendar Calendar.backup cp: Calendar.backup: Operation not permitted im curious to know why im not able to copy applications from ...
0
votes
1answer
214 views

Apple Script, Javascript: fill text filed (web form) with data from clipboard

I want to fill a webform (text filed) from a page i open in Safari with the text from a excel cell. I have managed to do a script to copy the cell content to clipboard but i do not know how to use ...
4
votes
0answers
87 views

Command + C does not always work on first try on MacOS

Command + C does not always work on first try on any of my four Macs. I often highlight text, press Command + C, head to another window, press Command + V only to find that the original text did not ...
2
votes
0answers
59 views

Applescript that efficiently listens for changes to the clipboard?

I'd like to do something whenever clipboard content changes. I have a solution working now where I get the clipboard value and store it, then I start an infinite loop where I look up the clipboard ...
2
votes
0answers
137 views

Make Merge Files the default behavior in (High Sierra) Finder when moving folders?

MacOS notoriously deletes whole duplicate folders when you are moving folders. That is, if you have a file structure: Folder1 └── Photos ├── Bright\ Selfie.jpg ├── Indiana\ Dunes\ at\ Sunset....
0
votes
0answers
68 views

Numbers 3 or 4: how to copy a chart completely?

I have Numbers 4.3, 3.6 and 2.3 installed on different computers. I want to copy charts from Numbers to Keynote but when I do that in 4.3 or 3.6 the title, legend etc are omitted (and yes, I have ...
2
votes
2answers
246 views

Download link for older Safari Technology Preview version 51

As was answered in this question, Cannot paste images from clipboard to Facebook in Safari unlike Google Chrome, Safari Technology Preview 51 has the attribute to copy and paste Facebook and Tumblr ...
1
vote
0answers
50 views

Excel copy and pbpaste

When I copy from Excel (Microsoft® Excel for Mac Version 16.11.1 (180319)) and paste into the terminal (Versian 2.8 (400)) via pbpaste I often (but not always) get weird chars at the end. Why is that?...
1
vote
4answers
375 views

Select and copy part of the text from a link in Safari

How can I copy only a section of text from a hyper link? As in, if there is a link like below, how can I copy only a part of the text that is linked? Call me Ishmael. Some years ago—never mind ...
1
vote
0answers
167 views

Extremely slow speeds using rsync to copy from one external drive to another

I am using rsync per Fastest and safest way to copy massive data from one external drive to another I have two external hard drives, connected via USB. According to System Information, both have up ...
6
votes
1answer
688 views

Cannot paste images from clipboard to Facebook in Safari unlike Google Chrome

I have problems pasting images from clipboard to Facebook in Safari. I have recently uninstalled Google Chrome and started using Safari since Chrome uses tons of energy and memory. I liked it but I ...
4
votes
2answers
466 views

Screenshot paste only works in some apps, not in Google Chrome

I used to love shift+control+command+4 for pasting screen grabs. But now it doesn't work in Chrome. In Stickies and Text Edit it doesn't work and gives the Apple error sound. The pasting Works fine ...
1
vote
0answers
28 views

Is there any way to make paste without formatting (i.e. as text) the system wide default?

I know you can ostensibly remap the keybinding on a given application in the Keyboard prefs, but this remap is not always possible when the format match is not an explicit menu choice. I'm assuming ...
0
votes
2answers
639 views

copy/paste of large amount of text to terminal leads to scrambled/missing characters

I work with TextMate and R over the terminal. When pasting a lot of code (CMD+C/CMD+V, e.g. 60 lines) it sometimes happens that few characters in the code are scrambled, which then leads to error ...
0
votes
1answer
38 views

Can one app read data from clipboard copied in another app

Let's say I'm working in application A and copy some sensitive data to clipboard. Can application B which is opened at the moment catch the information I've copied? Does OS X protect from such ...
3
votes
2answers
423 views

How can I use the TrackPad's force touch as copy paste function in terminal?

Since MacBook Pro 2015, Apple introduced the "Force Touch" in the Track Pad. When you click it in the Terminal, by default it gives you dictionary/Wikipedia search results. I would like to change it ...
0
votes
1answer
43 views

Simulating copy and paste on applications that don't allow it

Context Some applications currently don't seem to allow copy and pasting. For example I have an application that asks me to log in every time and it doesn't allow me to paste anything so I'm forced ...
2
votes
1answer
403 views

Cannot copy a large file; space available

Trying to copy (drag and drop) an ISO file from SSD1/MacOS Extended to SSD2/FAT32 (two physically different and internal SATA drives): ISO file size: 4.7 GB Space available on SSD2 partition: 20 GB ...
0
votes
1answer
52 views

Create apple script which auto names files with info from clipboard when a key combination is pressed

I work with file sets all beginning with the same number, but with variations, e.g. 0545038773.jpg, 0545038773_right.jpg, 0545038773_left.jpg, 0545038773_TOP.jpg, etc I'd like to assign the, _left, ...
3
votes
1answer
374 views

Creating a new file from a rectangular region of a PDF file

I want to create a new PDF file from a rectangular region of an existing PDF file, old_file.pdf. Currently, I use the following rather laborious process: Open the old_file.pdf in Preview. Chose the ...
1
vote
1answer
378 views

Copy Text From A Webpage Into Text Editor

This is my first try at AppleScript. Ultimately I want to automate adding lyrics to my iTunes library. My first challenge is to tell Safari to search a webpage for a phrase, click on the link, and ...
0
votes
3answers
91 views

How to auto-copy photos taken with camera?

I’m using OneNote app on iPad Pro with Apple Pencil for note taking at my university. Sometimes I want take photos of lecture slides on the projector screen and paste them on my one note. Since my ...
1
vote
0answers
271 views

copy text inside terminal.app without mouse

I'm inside a terminal.app with about 20 lines of commands and it's output $ previous command previous command output $ git branch develop master * you/236-add-more-test $ previous ...
1
vote
1answer
664 views

How to use Control or Command for Cut-Copy-Paste

I use a lot of Windows VMs and Remote Desktop into Windows on my Mac. I am going mad trying to find the correct keyboard shortcut based on which window I have in the foreground for Copy (or Cut) and ...
5
votes
2answers
2k views

clipboard not working after Security Update

EDIT: The update had the Security and Privacy icon (steel home with vault lock), while the last installed update (2017-001) has the High Sierra icon. So may not be 2017-001. Yet this is the last ...