Home > Questions

What IS the Shortcut for Renaming File by Its Creation Date

Hey, I'm looking for a shortcut, which renames a file by its creation date on Mac. It is time-wasting to copy the date from the file information and put to the file name. Does anybody know the shortcut?

Best Answered by

iBoysoft author Connie Yang

Connie Yang

Answered on Wednesday, April 24, 2024

There's no shortcut to rename a file by its creation date on Mac.

To rename a file on Mac by its creation date, you have to run the command in the Terminal and use it to create an Automator workflow to do so. Actually, it is time-wasting to add dates to a file with an Automator Script as below:

for f in "$@" 
do 
filedate=$(date -r $(stat -f %B $f) +%Y-%m-%d); 
filename=$f:t 
filepath=$f:h 
mv $filepath/{"$filename","$filedate $filename"} 
done

If you want to check your files by their creation dates, simply open Finder and move to the top Finder menu bar. Click on "View" and check "as List" on the dropdown menu, and then click on "Show View Options", and under the "Show Columns" section, check the box next to "Date Created". This is far simple and easy for you.

People Also Ask

Read More Questions

Read More Advice From iBoysoft's Computer Experts

削除ダウンロードが見つからない

修正されました!SonomaのiCloud Driveで「ダウンロードを削除」オプションが表示されない問題を解決する方法

macOS Sonomaにアップグレード後、iCloud Driveの「ダウンロードを削除」オプションが消えてしまう場合、この投稿はその原因と解決策を説明します。ダウンロードを削除するオプションを取り戻す方法が提供されます。

how to unzip files on Mac

How to Unzip Files or Open ZIP Files on Mac for Free

This guide shows you how to unzip files or folders on Mac for free. Also, it tells you how to create a ZIP file on Mac.

How to Tips

Die Fehlermeldung 100006 auf dem Mac

11 Möglichkeiten zur Behebung der Fehlermeldung 100006 auf dem Mac mit externem Laufwerk

Hier erzählen wir Ihnen, was der Fehler 'Der Vorgang konnte nicht abgeschlossen werden, da ein unbekannter Fehler aufgetreten ist (Fehler 100006)' ist, was führt zum Fehler 100006 und 11 Lösungen