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 Thursday, May 16, 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

Téléchargement DMG de macOS Catalina

Comment télécharger ou créer un fichier DMG macOS Catalina 10.15 ?

Ce message fournit le lien direct pour télécharger le fichier DMG macOS Catalina 10.15 et les étapes pour créer un fichier DMG macOS Catalina sur Mac.

mise en veille des disques durs sur Mac lorsque c'est possible

Activer ou non la mise en veille des disques durs sur Mac

Ce message vise à vous faire comprendre la fonctionnalité permettant de mettre en veille les disques durs lorsque cela est possible sur macOS et répond à la question de savoir si vous devez l'activer sur Mac.

Cómo Arreglar QuickBooks que Sigue Fallando en Mac

Cómo arreglar QuickBooks sigue fallando en Mac? [Profesional]

Esta publicación le dice cómo arreglar el software de QuickBooks Online y Desktop que sigue fallando en su computadora Mac. Además, también se incluye alguna información útil sobre QuickBooks.