剪切(Cut)、复制(Copy)和粘贴(Paste)是帮助您在计算机或设备(computer or device)上增加和组织文件和文件夹的基本命令,从而提高您的生产力和效率。在Mac上,找到一种复制和粘贴文件和文件夹的方法非常直观。但是,当涉及到剪切和粘贴时,该过程并不那么简单,因为在Mac上,您首先复制(Copy)内容,然后使用“将项目移至此处”(Move Item Here")命令。要了解有关在 macOS 上剪切、复制和粘贴文件和文件夹的所有不同方式的更多信息,请阅读本教程:(copy and paste files)
注意:(NOTE:)本指南涵盖 macOS Catalina或更新版本。我们指南中共享的功能可能不适用于旧版本的 macOS。要检查您的 macOS 版本,请阅读我有什么版本的 macOS?
第一(First)件事:选择一个或多个文件和文件夹
如果您尝试将内容复制或移动到另一个位置,您需要做的第一件事是选择有问题的文件and/or folder。要选择单个文件或文件夹(file or folder),请单击它。要选择更多文件and/or folder,请按住键盘上的Command (⌘)键(在大多数键盘快捷键中替换Windows的Ctrl键),同时单击要选择的其他项目。
当您以 Icons(as Icons)形式查看内容时,Shift键的功能与(Shift)Command(⌘)完全相同。但是,在任何其他视图模式中,如 List(as List)、Columns(as Columns)和Gallery(as Gallery),您都可以使用它来选择相邻项目。单击所选内容中的第一项,按住Shift键,然后单击最后一项。中间的文件和/或文件夹也被选中。
当涉及到相邻的文件和/或文件夹时,您还可以单击并按住鼠标按钮(mouse button),同时拖动光标以创建包含它们的选择区域。(selection area)当将文件和文件夹作为图标(as Icons)查看时,这更容易完成。
您可以使用键盘快捷键Command(⌘) - A选择某个位置的所有文件和/或文件夹。
Finder的编辑(Edit)菜单中也提供了全(Select All)选选项。打开文件所在的文件夹,单击Edit,然后单击Select All。
提示:(TIP:) 全选(Select All)也可用于选择文档的全部内容。我们在Mac(Mac)上选择文本的完整指南中包含了有关选择文本的更多信息。
1. 如何使用键盘快捷键剪切、复制(Copy)和粘贴文件和文件夹(Paste)
对于大多数用户来说,键盘(Keyboard)快捷键是将文件和文件夹复制或移动到另一个位置的最快方式。
无论您接下来要做什么,首先需要使用键盘快捷键(keyboard shortcut)Command(⌘) - C复制(Copy)相关文件。
要将它们粘贴(Paste)到另一个位置,请转到那里并使用键盘快捷键(keyboard shortcut) Command(⌘) - V。这些物品现在在这两个地方都可以买到。
要移动文件(或剪切文件),请在复制后使用键盘快捷键(keyboard shortcut) Option - Command(⌘) - V。这些文件现在仅在新位置可用,并且已从旧位置中删除。
提示:(TIP:)虽然本节中的复制(Copy)和粘贴快捷方式也可用于文本,但当您尝试(Paste)剪切(Cut)时,情况就大不相同了。要了解更多信息,请阅读在Mac上(Mac)剪切(Cut)、复制(Copy)和粘贴文本(Paste text)的 5 种方法。
2. 如何使用右键菜单剪切、复制(Copy)和粘贴文件和文件夹(Paste)
当您想要移动或复制项目时,可以轻松访问右键菜单。您刚刚使用鼠标进行选择,现在右键单击它以打开上下文菜单,然后单击Copy。如果您要复制一项,则菜单中的复制(Copy)选项后跟该项的名称。如果您选择了两个项目,则菜单显示为“复制 2 个项目("Copy 2 Items)”,对于三个 - “复制 3 个项目("Copy 3 Items)”,依此类推。
如果要复制文件,请转到所选位置(chosen location),右键单击该文件夹中的空白区域,然后从上下文菜单中单击粘贴项目命令。(Paste Item)与复制类似,当涉及到更多文件和/或文件夹时,该选项会更改为“粘贴 2 个项目”,依此类推。("Paste 2 Items)
如果您想剪切文件并将其移动到新位置,则将其复制到剪贴板后,转到该位置并右键单击(location and right-click)任何空闲区域以打开上下文菜单。打开上下文菜单后,按键盘上的Option键。
粘贴(Paste)选项更改为“将项目移至此处”("Move Item Here")(或“将("Move)x项目移至此处”(Items Here")),您可以单击它来完成剪切或移动文件。
3. 如何使用Finder的编辑菜单剪切、(Edit menu)复制(Copy)和粘贴(Paste)文件和文件夹
Finder的编辑(Edit)菜单中还提供了帮助您在Mac上复制或移动文件和文件夹的选项。(Mac)选择文件后,单击“编辑(Edit)”打开菜单,然后单击“复制("Copy)x项”(Items")将文件添加到剪贴板。
移动到您选择的位置,再次打开Finder的Edit菜单,然后单击Paste Item或“Paste x Items” - 如果有多个文件和/或文件夹。
要将剪贴板中的项目从其原始位置剪切并将它们移动到另一个位置,请转到目标文件夹(destination folder)并打开Finder的编辑(Edit)菜单。按下键盘上的Option键会更改菜单,显示“将("Move)x项移至此处”(Items Here")选项。单击它,(Click)剪贴板(clipboard become)中的文件和文件夹将在此文件夹中可用。
4. 如何使用鼠标剪切、复制(Copy)和粘贴文件和文件夹(Paste)
使用鼠标复制和移动文件(copy and move files)和文件夹既快速又简单,尤其是在您组织内容并需要(content and need)使用多个文件夹时。
确保(Make)源文件夹和目标文件夹都在您的屏幕上打开,然后通过单击它并按住鼠标按钮(mouse button)来获取您的选择。当您移动鼠标并拖动它们时,您可以看到您抓取的项目数显示在鼠标指针(mouse pointer)旁边。
要移动项目或剪切和粘贴它们,请将它们拖放到您选择的文件夹中。
如果要复制项目,请在将它们放入文件夹之前按Option键。(Option)鼠标指针(mouse pointer)旁边会出现一个加号 (+) 图标。拖动目标文件夹(destination folder)顶部的项目后释放鼠标按钮(mouse button),您的项目副本现在可以在此位置获得。
提示:(TIP:)您还可以使用Option键在同一文件夹中创建文件的副本。
5. 如何使用终端剪切、复制(Copy)和粘贴文件和文件夹(Paste)
在Mac上打开(Mac)终端应用程序(Terminal app)的方法有很多,但我们发现最简单的方法是首先使用默认键盘快捷键(default keyboard shortcut)Command (⌘) - Spacebar打开(Command (⌘) - Spacebar)Spotlight,然后输入“终端”并从结果中访问应用程序。
终端应用程序(Terminal app)打开,您可以输入命令。要剪切和粘贴,或移动文件或文件夹,您需要使用以下单行命令:
mv源目标
将source替换为要移动的文件或文件夹的路径,将(file or folder)destination替换为目标文件夹(destination folder)的路径。然后,按键盘上的Return键。例如,要将文件夹Wallpapers从Documents文件夹移动到Desktop,我们使用以下命令:
mv ~/Documents/Wallpapers ~/桌面
要将文件S.jpg从Documents中的(Documents)壁纸(Wallpapers)文件夹移动到桌面(Desktop),我们使用了以下命令:
mv ~/Documents/Wallpapers/S.jpg ~/Desktop
在复制时,文件和文件夹的命令是不同的。要复制文件,请使用:
cp源目标
将source替换为要复制的文件的路径,将destination替换为(destination)目标文件夹(destination folder)的路径。然后,按键盘上的Return键。要将文件S.jpg从Documents中的(Documents)壁纸(Wallpapers)文件夹复制到桌面(Desktop),我们使用了以下命令:
cp ~/Documents/Wallpapers/S.jpg ~/Desktop
要复制文件夹,包括其所有内容,请使用:
cp -r源目标
将source替换为要复制的文件夹的路径,将destination替换为(destination)目标文件夹(destination folder)的路径。然后,按键盘上的Return键。要将文件夹壁纸(Wallpapers)从Documents文件夹复制到Desktop,我们使用以下命令:
cp -r ~/Documents/Wallpapers ~/Desktop
提示:(TIP:) ~(波浪号)符号用作Home 文件夹(Home folder)的替代品,其中包含您的Desktop和Documents文件夹。
奖励:找出剪贴板中当前有哪些项目
如果您需要复制或移动大量内容,整个过程可能会变得混乱。如果您想检查您刚刚复制或剪切的文件and/or folder在Finder的编辑(Edit)菜单中,单击显示剪贴板(Show Clipboard)。
剪贴板打开,显示最后剪切或复制的项目列表 - 在我们的例子中,一个文件夹和六个JPG文件。
您更喜欢哪种剪切(Cut)、复制(Copy)和粘贴(Paste)方式?
根据情况,我们使用不同的方式来复制和移动文件和文件夹:移动时我们主要是拖放,但我们更倾向于使用Command (⌘) - C和Command (⌘) - V键盘快捷键每当我们复制。你呢?在这些方式中,哪种(Which)方式让您觉得最舒适、最直接?在下面发表评论(Comment),让我们讨论。
5 ways to Cut, Copy, and Paste files and folders on a Mac
Cut, Copy, and Paste are basic commands that help you multiply and organize files and folders on your computer or device, making you more productive and efficient. On a Mac, finding a way to copy and paste files and folders is pretty intuitive. However, when it comes to cutting and pasting, the process is not as straightforward, because, on a Mac, you first Copy content, and then use the "Move Item Here" command instead. To learn more about all the different ways you can cut, copy and paste files and folders on macOS, read this tutorial:
NOTE: This guide covers macOS Catalina or newer. The features shared in our guide may not work on older versions of macOS. To check your macOS version, read What version of macOS do I have?
First things first: Select one or more files and folders
The first thing you need to do if you are trying to either copy or move content to another location is to select the file(s) and/or folder(s) in question. To select a single file or folder, click on it. To select more files and/or folders, hold down the Command (⌘) key on your keyboard (which replaces Windows' Ctrl key in most keyboard shortcuts) while clicking the additional items you want to select.
When you are viewing content as Icons, the Shift key has the exact same function as Command(⌘). However, in any of the other view modes, as List, as Columns, and as Gallery, you can use it to select adjacent items. Click the first item in your selection, hold down the Shift key, and then click the last item. The files and/or folders in between are also selected.
When it comes to adjacent files and/or folders, you can also click and then hold down the mouse button while dragging the cursor to create a selection area that includes them. This is easier done when viewing files and folders as Icons.
You can use the keyboard shortcut Command(⌘) - A to select all the files and/or folders in a location.
The option to Select All is also available from the Finder's Edit menu. Open the folder where the files are located, click on Edit, and then on Select All.
TIP: Select All can also be used to select the entire contents of a document. We included more information about selecting text in The complete guide to selecting text on your Mac.
1. How to Cut, Copy, and Paste files and folders using keyboard shortcuts
Keyboard shortcuts are, for most users, the fastest way to copy or move files and folders to another location.
Regardless of what you want to do next, you first need to Copy the file(s) in question by using the keyboard shortcut Command(⌘) - C.
To Paste them to another location, go there and use the keyboard shortcut Command(⌘) - V. The items are now available in both locations.
To move files (or cut them), after copying, use the keyboard shortcut Option - Command(⌘) - V. The files are now only available in the new location and have been removed from the old one.
TIP: While the Copy and Paste shortcuts in this section can also be used for text, things are quite different when you try to Cut. To learn more, read 5 ways to Cut, Copy, and Paste text on a Mac.
2. How to Cut, Copy, and Paste files and folders using the right-click menu
The right-click menu is easily accessible when you want to move or copy items. You just used your mouse to make a selection, now right-click on it to open a contextual menu, and click on Copy. If you are copying one item, the Copy option in the menu is followed by that item's name. If you selected two items, the menu reads "Copy 2 Items," for three - "Copy 3 Items," and so on.
If you wanted to copy the file, go to the chosen location, right-click on a free area in that folder, and then click on the Paste Item command from the contextual menu. Similar to copying, the option changes to "Paste 2 Items," and so on, when it comes to more files and/or folders.
If you wanted to cut the file and move it to a new location, then, once you have it copied in your clipboard, go to that location and right-click on any free area to open the contextual menu. With the contextual menu open, press the Option key on your keyboard.
The Paste option changes to "Move Item Here" (or "Move x Items Here"), and you can click it to finish cutting or moving your file(s).
3. How to Cut, Copy, and Paste files and folders using the Finder's Edit menu
Options to help you copy or move files and folders on your Mac are also available in the Finder's Edit menu. Once your files are selected, click on Edit to open the menu and then on "Copy x Items" to add the files to your clipboard.
Move to the location of your choice, open the Finder's Edit menu again, and click on Paste Item or "Paste x Items" - in case of multiple files and/or folders.
To cut the items in your clipboard from their original location and move them to another one, go to the destination folder and open the Finder's Edit menu. Pressing the Option key on your keyboard changes the menu, revealing the "Move x Items Here" option. Click on it, and the files and folders in your clipboard become available in this folder instead.
4. How to Cut, Copy, and Paste files and folders using the mouse
Using the mouse to copy and move files and folders is fast and easy, especially when you are organizing your content and need to work with multiple folders.
Make sure both the source and the destination folders are open on your screen, then grab your selection by clicking on it and holding down the mouse button. When you move your mouse and drag them around, you can see the number of items you grabbed displayed next to your mouse pointer.
To move the items, or cut and paste them, drag and drop them to the folder of your choice.
If you want to copy the items, press the Option key before dropping them in the folder. A plus sign (+) icon appears next to your mouse pointer. Release the mouse button after dragging the items on top of the destination folder, and copies of your items are now available in this location.
TIP: You can also use the Option key to create duplicates of your files in the same folder.
5. How to Cut, Copy, and Paste files and folders using the Terminal
There are many ways to open the Terminal app on your Mac, but we find it easiest to first open Spotlight with the default keyboard shortcut Command (⌘) - Spacebar, then type in "terminal" and access the app from the results.
The Terminal app opens, and you can enter commands. To cut and paste, or move a file or a folder, you need to use the following one-line command:
mv source destination
Replace source with the path to the file or folder you want to move and destination with the path to the destination folder. Then, press Return on your keyboard. For instance, to move the folder Wallpapers from the Documents folder to the Desktop, we used the following command:
mv ~/Documents/Wallpapers ~/Desktop
To move the file S.jpg from the Wallpapers folder in Documents and to the Desktop, we used the following command:
mv ~/Documents/Wallpapers/S.jpg ~/Desktop
When it comes to copying, the commands for files and folders are different. To copy a file, use:
cp source destination
Replace source with the path to the file you want to copy and destination with the path to the destination folder. Then, press Return on your keyboard. To copy the file S.jpg from the Wallpapers folder in Documents and to the Desktop, we used the following command:
cp ~/Documents/Wallpapers/S.jpg ~/Desktop
To copy a folder, including all its contents, use:
cp -r source destination
Replace source with the path to the folder you want to copy and destination with the path to the destination folder. Then, press Return on your keyboard. To copy the folder Wallpapers from the Documents folder to the Desktop, we used the following command:
cp -r ~/Documents/Wallpapers ~/Desktop
TIP: The ~ (tilde) symbol is used as a replacement for the Home folder, which contains both your Desktop and your Documents folders.
Bonus: Find out what items are currently in the clipboard
If you need to copy or move a lot of content around, the whole process can become confusing. If you want to check that the file(s) and/or folder(s) you just copied or cut are the correct ones, you can check by opening the clipboard. In the Finder's Edit menu, click on Show Clipboard.
The clipboard opens, showing a list of the items that were cut or copied last - in our case, one folder and six JPG files.
Which way to Cut, Copy, and Paste do you prefer?
Depending on the situation, we use different ways to copy and move around files and folders: we mostly drag and drop when it comes to moving, but we tend to use the Command (⌘) - C and Command (⌘) - V keyboard shortcuts whenever we copy. What about you? Which of these ways strikes you as the most comfortable and straightforward? Comment below and let's discuss.