Stack Exchange Network

Stack Exchange network consists of 175 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
39 views

Copy file from Terminal and paste in Mail

I would like to copy a file to the clipboard in terminal (as a reference like Finder does it) and then when writing an email, paste it into Mail as an attachment (CMD + V). I posted an example ...
1
vote
1answer
26 views

Does the Console app in macOS keep a log of when I deleted a certain file?

Today a weird thing happened while I was copying two large files from my Mac to my hard drive. The two files vanished from the original folder on my Mac during copying! And in the end, I got a warning ...
0
votes
1answer
33 views

Reassign shortcut with variable in it

I made a shortcut with Automator to open a file with VS Code in Finder. But I can't assign it to the desired keyboard shortcut (command + option + c) because it is already taken by 'Copy "filename" as ...
0
votes
1answer
31 views

Applescript to filter the clipboard

Let say I have this in my clipboard : ************TH4F fsdfssdggg0878 Ex.US Unknown 0 $100.00 05/24/17 04:40 No Bonus ************TH4F fsdfssdggg0878 Un.UK Unknown 0 $50.00 05/...
7
votes
2answers
676 views

Removing all characters except digits from clipboard

I'm trying to refine a script I use within an Automator program and I would appreciate your help on this. The program is designed to mark a telephone number into clipboard make a tel:link and send it ...
0
votes
0answers
36 views

How to can I share clipboard when using vnc to connect o OSX from Ubuntu?

I use screen sharing in my mac and then connect to it from my Ubuntu machine using VNC and Remmina. How can I share the clipboard so that I can copy a text from my Ubuntu machine and paste into my ...
7
votes
1answer
1k views

How do you cope with tons of web fonts when copying and pasting from web pages?

Whenever I copy something from the web and paste it in my Mail or Evernote, or Apple Notes, it always brings the text style from the page and inserts those weird looking fonts in my mail, or notes. ...
0
votes
0answers
11 views

Change “copy of …” when copying and pasting files in macOS Mojave [duplicate]

I have a file called "text.txt" and when copying and pasting into the finder a copy is created "copy of text.txt" is there any way to change this? that is, when copying and pasting is like this: "...
1
vote
1answer
24 views

Change text/font case ANYWHERE including chrome input fields

Trying to find a solution to be able to easily change text case inside of a chrome input field. I know word editors have features like right click > transformations > UPPERCASE, lowercase, Title Case. ...
5
votes
2answers
142 views

Shared clipboard between multiple Macbooks

I have a Macbook Air (2017) and Macbook Pro (early 2015). As a developer, I want to do my development on Pro and browsing, emails and other stuff on my Air at the same time. This requires some copy-...
7
votes
1answer
179 views

How to copy and paste as plain text on iOS?

Currently my work around is to paste the text in the notes and copy from there the plain text to paste it to for example the mail app. How can I copy formatted text and paste it as plain text for ...
1
vote
1answer
49 views

File Copy Error

I copied files from one location to another using the following command. cp -pr /path/to/source /path/to/destination During execution, I saw the following error message on some files being copied ...
0
votes
2answers
43 views

Copy columns of tables on web pages

In PDFs in Preview I can select individual columns of tables by pressing the option key while dragging. This selects individual columns like this: However, pressing the option key while dragging in a ...
2
votes
1answer
49 views

Does Universal clipboard works on ethernet?

I have a mac mini 2018 connected to the same router/network, but using ethernet cable, and iOS device, connected to the same router/network, but using wifi. But i can't use universal clipboard to ...
1
vote
1answer
25 views

Fast note app for quick lookup & copy to clipboard for osx & ios?

I'm looking for a lightweight fast note app for frequently accessed notes, so that I could: 1) Rapidly copy them to my clipboard. 2) Simply view them. 3) Work & sync across osx & iOS. Use ...
0
votes
1answer
29 views

OS X 10.10 Copy / Paste Source file count does not match destination file count

I have folderA and want to make a copy of all the contents within into FolderB. I select all the contents inside of FolderA then selected copy and went to FolderB and pasted it. When it is done, ...
0
votes
0answers
92 views

Copying files from APFS to Mac OS Extended too slow

I'm using NVME SSD (APFS) as my main boot drive. I also have USB 3 External SSD (Mac OS Extended Journal). I just tried to copy 40GB files from APFS to mac OS Extended and it took 15 mins. It's ...
4
votes
1answer
73 views

Is it possible to access the Clipboard as a file from the command line?

When something is copied to the clipboard, is it available anywhere as an editable file? I'd assume it's written somewhere even if it's just a temporary file - although I am likely mistaken. I'd ...
1
vote
1answer
109 views

Can't copy photo from IPad

I used to be able to copy a photo from the screen by pressing on the screen. For some reason it will not copy anymore.
28
votes
3answers
1k views

Copying blocks of text in terminal

Is it possible to copy a "block" of text from a terminal window without having to copy entire lines? Example: Say I just wanna copy the text I’ve circled in the image above, is this possible? Or do ...
0
votes
1answer
172 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
138 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
73 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
152 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 ...
20
votes
6answers
3k 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
90 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
307 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
87 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 ...
4
votes
2answers
1k 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 ...
3
votes
2answers
1k 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
188 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
51 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
126 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
786 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
208 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
34 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 ...
2
votes
0answers
737 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
353 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
60 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
349 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
339 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 ...
0
votes
0answers
133 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
304 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 ...
1
vote
1answer
30 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
389 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 ...
8
votes
1answer
441 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
88 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
263 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
121 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
356 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 ...