照片檔案的匯出/分享檔案名稱模式。
位於「設定」>「照片檔案名稱模式」,此畫面允許您根據照片資料欄位設定儲存/匯出/分享照片的檔案名稱模式。
當照片儲存至照片資料庫、檔案應用程式、iCloud 檔案或任何連接的雲端/網路磁碟、AirDrop 等時,檔案名稱將基於所設定的模式。預設情況下,模式僅為照片標題。
部分欄位可透過照片評論編輯器編輯(標題、備註、資料夾/標籤欄位名稱、資料夾/收藏集、地址)。部分欄位嵌入在照片的元資料中,例如座標、方向、海拔高度。
預設情況下,儲存、分享或匯出照片時,照片標題欄位會被用作檔案名稱。
從 4.0 版本起,您可以為檔案名稱設定自訂模式。
以下是一個自訂模式的範例:

可以為單張照片和批量照片的儲存/分享/匯出設定不同的檔案名稱模式。
對於上述範例,單張加註照片的檔案名稱可能如下:
05Feb24 16-56_#12_2024-02-05-16-56-35+0100_C_50.09519, 14.50290±5mWGS84.0.s.jpg
對於 3 張匯出/分享的加註照片,名稱可能如下:
05Feb24-12-44_#10_2024-02-05-12-44-32+0100_C_50.09519,-14.50290±5mWGS84_#003.0.s.jpg
05Feb24-13-34_#11_2024-02-05-13-34-41+0100_C_50.09519,-14.50290±5mWGS84_#002.0.s.jpg
05Feb24-16-56_#12_2024-02-05-16-56-35+0100_C_50.09519,-14.50290±5mWGS84_#001.0.s.jpg
預設情況下,批量匯出/分享的檔案名稱模式基於單張檔案名稱模式。但您也可以為批量匯出/分享設定完全不同的模式。
將欄位新增至檔案名稱模式
點擊模式列中的「+」按鈕以新增欄位。
可用欄位:
- 照片標題(預設)。 可透過照片評論編輯器編輯。
- 自訂文字。 您可以在此新增自由文字。
- 照片拍攝日期。 嵌入在照片元資料中。
- 照片位置座標。 嵌入在照片元資料中。
- 照片位置海拔高度。 嵌入在照片元資料中。
- 照片方向。 嵌入在照片元資料中。
- 照片備註。 可透過照片評論編輯器編輯。
- 照片地址。 可透過照片評論編輯器編輯。
- 標籤欄位(照片備註編輯器中的資料夾欄位名稱)。 可透過照片評論編輯器編輯。
- 資料夾/收藏集名稱。 可透過照片評論編輯器編輯。
批量匯出/分享的額外欄位:
- 單張檔案名稱模式。 允許將單張檔案名稱模式作為批量檔案名稱的基礎。
- 批量中的檔案序列號。
日期欄位格式
當模式中包含拍攝日期欄位時,模式編輯器會顯示一個區段來設定其格式:

為了保持高度靈活性,應用程式允許您自行設定格式字串,無任何限制。
為了提供基本設定概念或讓您恢復至預設格式,應用程式提供了一個可能格式的簡短清單。點擊「顯示日期/時間格式範例」以查看清單:

您可以使用其中一種,或以此為靈感。如需完整的格式規範,請搜尋「ISO 8601」。
批量序列號格式
如果批量檔案名稱模式包含檔案序列號,應用程式將提供設定數字位數的選項:

處理檔案名稱中的空白字元

雖然檔案名稱中的空白字元看起來美觀,但空白字元可能會導致某些檔案提供者或檔案傳輸情境出現問題。
以下為從應用程式透過 AirDrop 共享/匯出同一張照片 4 次至 Mac 的範例:

照片標題為「29Jan24 19-47」。
#1 和 #2 - 共享時將檔案名稱中的空白字元替換為「-」。如您所見,所有共享均順利完成,Mac OS 為第二次傳輸相同檔案名稱的檔案附加了「 2」後綴。
#3 - 首次共享保留空白字元。傳輸並命名如預期。
#4 - Mac OS 或 AirDrop 在此情境下,當判斷存在「相同」名稱的檔案至該空白字元時,停止命名傳入的檔案。先前已知的「重複」檔案為 29Jan24 19-47_33UVR6444649331±10mWGS84_#0001.0.s.jpg it named the incoming file as 29Jan24 20.s.jpg taking 19, 20 as sequence number for duplicate file names in this case.
This happens to Airdrop, this doesn’t happen when saving to iCloud “Files” where “Files” asks if you want to replace or keep both, intelligently assigning " 2" suffix to the second file with the same name.
So depending on the transfer scenario and files provider you might have different handling of whitespaces and this section should give you more options to adapt.
Default for this setting is NO - no substitution of whitespaces happens by default.
Additional information:
- Photo tile pattern
- Photo/Point sharing options
- Text and QR codes scanner in the photo notes editor
- Tweaks for Google Earth export
Edge cases.
When using “Save N images” option for multiple selected photos in the iOS sharing sheet to save photos to the photo library, in iOS 17, file names are not based on any pattern and will come out as random.
All other tested file or email sharing providers (Dropbox, Google drive, Files, QFile, Google email, Apple Mail, iMessage, Telegram) - supported all of the tested pattern combinations.
Tips & tricks.
Find exported/shared photo files within certain heading range (Mac OS or Linux).
Add Heading to the photo file name. Share, save or export selected photos/points.
Given the folder content as (ls -1):
07Feb24@17-49_#24_H_NW314°T_A_240m.0.s.jpg
07Feb24@17-49_#25_H_N357°T_A_240m.0.s.jpg
07Feb24@17-49_#26_H_NE44°T_A_240m.0.s.jpg
07Feb24@17-49_#27_H_E97°T_A_240m.0.s.jpg
07Feb24@17-49_#28_H_SE143°T_A_240m.0.s.jpg
07Feb24@17-49_#29_H_S188°T_A_240m.0.s.jpg
Use:
ls | perl -nle 'print "${_}\t$1\n" if /_H_\D*(\d+)\D/' | awk -F '\t' '$2 > 100 && $2 < 200 {print $1,$2}'
To find files for photos with heading between 100 and 200 degrees:
07Feb24@17-49_#28_H_SE143°T_A_240m.0.s.jpg 143
07Feb24@17-49_#29_H_S188°T_A_240m.0.s.jpg 188
如需更多關於過濾照片檔案的提示,請寫信至 support@blocoware.com。