File timestamp: Difference between revisions

mNo edit summary
m Text replacement - ": Image:Owl icon.jpg " to "{{Tips}} "
 
(9 intermediate revisions by the same user not shown)
Line 10: Line 10:
</tr>
</tr>
<tr>
<tr>
<td>{{Mac}}</td>
<td>Finder on {{Mac}}</td>
<td>上次打開日期</td>
<td>上次打開日期</td>
<td>修改日期</td>
<td>修改日期</td>
Line 16: Line 16:
</tr>
</tr>
<tr>
<tr>
<td>{{Linux}}</td>
<td>stat command on {{Mac}}</td>
<td>atime (access time)</td>
<td>atime (access time)</td>
<td>mtime (modify time) </td>
<td>mtime (modify time) </td>
<td>birthtime (birth time)</td>
<td>birthtime (birth time)</td>
</tr>
<tr>
<td>stat command on CentOS {{Linux}}</td>
<td>Access</td>
<td>Modify</td>
<td>Birth</td>
</tr>
</tr>
<tr>
<tr>
Line 29: Line 35:
</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><ref>[https://support.apple.com/zh-tw/guide/mac-help/mh35951/mac 整理 Mac 桌面上檔案的方式 - Apple 支援 (台灣)]</ref>
* 「上次打開日期」(Last Activity Date):打開檔案、預覽檔案都造成「上次打開日期」的改變
* 「上次打開日期」(Date Last Opened; Last Activity Date):打開檔案、預覽檔案都造成「上次打開日期」的改變
* 「修改日期」(Modified Date):編輯儲存檔案後的日期
* 「修改日期」(Date Modified):編輯儲存檔案後的日期
* 「加入日期」:檔案加入資料夾的日期。例如檔案移動到不同資料夾的日期、拷貝到資料夾的日期、檔案解壓縮的日期
* 「加入日期」(Date Added):檔案加入資料夾的日期。例如檔案移動到不同資料夾的日期、拷貝到資料夾的日期、檔案解壓縮的日期
* 「製作日期」(Created Date):檔案建立的日期
* 「製作日期」(Date Created):檔案建立的日期
 
{{Tips}} 壓縮檔解壓縮後,要在茫茫檔海中找到解壓縮後的檔案,不能用「製作日期」或「修改日期」,而是用「加入日期」排序!


: [[Image:Owl icon.jpg]] 壓縮檔解壓縮後,要在茫茫檔海中找到解壓縮後的檔案,不能用「製作日期」,而是「加入日期」!


== Linux ==
{{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}} 指令依序顯示以下四個時間資訊:
[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)  
Line 49: Line 55:
* [https://www.azofreeware.com/2015/12/newfiletime.html NewFileTime 3.88 免安裝中文版 - 修改檔案時間的軟體 - 阿榮福利味 - 免費軟體下載] {{Win}}
* [https://www.azofreeware.com/2015/12/newfiletime.html NewFileTime 3.88 免安裝中文版 - 修改檔案時間的軟體 - 阿榮福利味 - 免費軟體下載] {{Win}}
* [https://www.php.net/manual/en/function.filemtime.php PHP: filemtime - Manual]
* [https://www.php.net/manual/en/function.filemtime.php PHP: filemtime - Manual]
== Related articles ==
* [https://www.itechtics.com/change-timestamp/ How To Change A File/Folder Date Timestamp Using Command Line And Other Tools]
* [https://stackoverflow.com/questions/57432314/comparing-lastwritetime-and-creationtime powershell - Comparing LastWriteTime and CreationTime - Stack Overflow]


== References ==
== References ==