Mac修改文件夹的名字

Method 1: Rename a file or folder by selecting it and hitting the ‘return’ key

Just click on the icon of the file/folder from the OS X Finder, and then hit the return key, then type in the new name. This is quick and simple, and likely the most traditional method of renaming on the Mac.

1. 直接用鼠标选中文件夹,按return键,输入新的文件夹名,然后确定敲击return

Method 2: Rename a file or folder by selecting it and clicking on the filename with your cursor

Super simple and done through the Finder, here’s what you want to do: after you have selected the icon, click on the actual filename text and hover for a moment with the mouse cursor, you’ll see the text highlight which indicates that you can then rename the item. Type in the new name, then hit return or click away with the mouse cursor to set the change.

2. 选中文件夹,点击文件夹的名,

Advanced Method 3: Rename a file or folder via command line
The command line is a bit more advanced, but you can also rename any file or directory via the Terminal. To do this from the command line, type the following syntax replacing with your files and filenames as desired:
mv oldfilename newfilename
A note on file extensions: be aware when renaming certain files that changing the file extension (.jpg or .txt, etc) can effect the behavior of that file and how applications respond to it. Generally speaking, you should leave the file extension the same.

3. 使用terminal bash命令:mv oldfilename newfilename, 注意文件类型

你可能感兴趣的:(Linux)