Now type in the command that will simultaneously compress and password protect the files in the. Type in ls to make sure you see your folder. For example, in my instance, I would type cd /Volumes/dataMAC and. The second does what an Option-drag does, or what happens when you drag a file to a different disk or volume. Change your directory to the location of your folder. The first does the same as dragging a file to a new location on the same hard disk. There are two commands for moving and copying: mv and cp. The same is the case from the command line. (You may know that you can copy a file in the Finder, even on the same hard disk, by holding down the Option key when you drag it.) However, if you drag a file from your Desktop to an external hard disk, you’ll see that the file remains in its original location this file has been copied. The file is no longer on the Desktop, and is found only in the Documents folder. If you’re in the Finder, and you drag a file from, say, your Desktop to your Documents folder, or any other folder on the same disk or volume, you move the file. The difference between copying and moving files If you’ve lost access to the Finder because your Mac is on the blink, you might be able to use the command line to troubleshoot the problem.You can copy or move multiple files using wildcards.These files, which can contain settings for certain apps or parts of the Mac, contain a dot (.) before their names, and the Finder doesn’t show them. The name of the file and the amount of compression that was attained is shown beside each file. Each file will be listed as it’s added to the archive. In this example, we’re going to be using a folder of source code. You can copy or move files that are hidden in the Finder. Open Terminal and navigate to a folder that you want to zip up. You can copy or move files from one location to another without opening windows in the Finder. There are several ways to do this: Type in the command unzip without the quotation marks.
0 Comments
Leave a Reply. |