File timestamp: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 29: | Line 29: | ||
</table> | </table> | ||
== Mac == | == Mac & Linux == | ||
Finder 列表模式<ref>[https://www.cool3c.com/article/94252 [蘋果急診室] Mac 電腦入門特輯:檔案管理大不同!(三)讓你更檢視 / 預覽檔案更容易 (94252) - 癮科技 Cool3c]</ref> | {{Mac}} Finder 列表模式<ref>[https://www.cool3c.com/article/94252 [蘋果急診室] Mac 電腦入門特輯:檔案管理大不同!(三)讓你更檢視 / 預覽檔案更容易 (94252) - 癮科技 Cool3c]</ref> | ||
* 「上次打開日期」(Last Activity Date):打開檔案、預覽檔案都造成「上次打開日期」的改變 | * 「上次打開日期」(Last Activity Date):打開檔案、預覽檔案都造成「上次打開日期」的改變 | ||
* 「修改日期」(Modified Date):編輯儲存檔案後的日期 | * 「修改日期」(Modified Date):編輯儲存檔案後的日期 | ||
| Line 38: | Line 38: | ||
: [[Image:Owl icon.jpg]] 壓縮檔解壓縮後,要在茫茫檔海中找到解壓縮後的檔案,不能用「製作日期」,而是「加入日期」! | : [[Image:Owl icon.jpg]] 壓縮檔解壓縮後,要在茫茫檔海中找到解壓縮後的檔案,不能用「製作日期」,而是「加入日期」! | ||
[https://linuxize.com/post/stat-command-in-linux/ Stat Command in Linux | Linuxize]<ref>[https://unix.stackexchange.com/questions/2464/timestamp-modification-time-and-created-time-of-a-file linux - timestamp, modification time, and created time of a file - Unix & Linux Stack Exchange]</ref><ref>[https://superuser.com/questions/387042/how-to-check-all-timestamps-of-a-file linux - How to check all timestamps of a file? - Super User]</ref>。{{kbd | key=stat}} 指令依序顯示以下四個時間資訊: | {{Linux}} [https://linuxize.com/post/stat-command-in-linux/ Stat Command in Linux | Linuxize]<ref>[https://unix.stackexchange.com/questions/2464/timestamp-modification-time-and-created-time-of-a-file linux - timestamp, modification time, and created time of a file - Unix & Linux Stack Exchange]</ref><ref>[https://superuser.com/questions/387042/how-to-check-all-timestamps-of-a-file linux - How to check all timestamps of a file? - Super User]</ref>。{{kbd | key=stat}} 指令依序顯示以下四個時間資訊: | ||
* atime (access time) | * atime (access time) | ||
* mtime (modify time) | * mtime (modify time) | ||
Revision as of 18:04, 2 January 2020
檔案相關時間:上次打開日期、修改日期、製作日期
不同作業系統的檔案時間欄位名稱對照表
| 作業系統 | 檔案上次打開日期 | 檔案修改日期 | 檔案製作日期 |
|---|---|---|---|
| macOS |
上次打開日期 | 修改日期 | 製作日期 |
| Linux |
atime (access time) | mtime (modify time) | birthtime (birth time) |
| Win |
存取日期 (預設該功能不會啟用[1]) | 修改日期 | 建立日期 |
Mac & Linux
macOS
Finder 列表模式[2]
- 「上次打開日期」(Last Activity Date):打開檔案、預覽檔案都造成「上次打開日期」的改變
- 「修改日期」(Modified Date):編輯儲存檔案後的日期
- 「加入日期」:檔案加入資料夾的日期。例如檔案移動到不同資料夾的日期、拷貝到資料夾的日期、檔案解壓縮的日期
- 「製作日期」(Created Date):檔案建立的日期
Linux
Stat Command in Linux | Linuxize[3][4]。stat 指令依序顯示以下四個時間資訊:
- atime (access time)
- mtime (modify time)
- ctime (change time):修改檔案 metadata 的時間,例如修改檔案的擁有者、權限、檔案名稱、移到不同目錄[5]。
- birthtime (birth time)
Tools
- Linux 的 touch 指令用法教學與範例 - G. T. Wang Linux
&& macOS
- NewFileTime 3.88 免安裝中文版 - 修改檔案時間的軟體 - 阿榮福利味 - 免費軟體下載 Win
- PHP: filemtime - Manual
References
- ↑ 存取日期 及修改日期的差別
- ↑ [蘋果急診室 Mac 電腦入門特輯:檔案管理大不同!(三)讓你更檢視 / 預覽檔案更容易 (94252) - 癮科技 Cool3c]
- ↑ linux - timestamp, modification time, and created time of a file - Unix & Linux Stack Exchange
- ↑ linux - How to check all timestamps of a file? - Super User
- ↑ File Timestamps in Linux: atime, mtime, ctime Explained - Linux Handbook