diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..008ec29 Binary files /dev/null and b/.DS_Store differ diff --git a/README.md b/README.md index 0ff1a43..9f3aa47 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ # keyboard-maestro-macros -Some Keyboard Maestro Macros +Some Keyboard Maestro Macros for General Use + +## Rename selected files in Finder with current date in ISO format + +![Rename File with date.png] + + diff --git a/Rename File with date.png b/Rename File with date.png new file mode 100644 index 0000000..fd59725 Binary files /dev/null and b/Rename File with date.png differ diff --git a/Rename file to insert current date pattern before its name.kmmacros b/Rename file to insert current date pattern before its name.kmmacros new file mode 100644 index 0000000..feaf188 --- /dev/null +++ b/Rename file to insert current date pattern before its name.kmmacros @@ -0,0 +1,104 @@ + + + + + + Activate + Normal + CreationDate + 583509377.35097206 + Macros + + + Actions + + + ActionUID + 36430 + Actions + + + ActionUID + 36804 + Attribute + Name + MacroActionType + GetFileAttribute + Path + + Variable + FileName + + + Action + IgnoreCaseRegEx + ActionUID + 36433 + Captures + + + Path + FileName + Extension + + MacroActionType + SearchRegEx + Search + (.*\/)(.*)(\..*) + Source + Variable + Variable + File + + + ActionUID + 36431 + Destination + %Variable%Path%%ICUDateTime%yyyy-MM-dd% %Variable%FileName%%Variable%Extension% + MacroActionType + File + Operation + Move + Source + %Variable%Path%%Variable%FileName%%Variable%Extension% + + + Collections + + CollectionList + + + CollectionType + FinderSelection + + + + MacroActionType + For + TimeOutAbortsMacro + + Variable + File + + + CreationDate + 664056519.02866697 + ModificationDate + 664057748.11955905 + Name + Rename file to insert current date pattern before its name + Triggers + + UID + 829561C8-6600-4A81-BF13-CA9C75B6F081 + + + Name + Finder + ToggleMacroUID + 0C77391D-4ADA-4A3C-B44D-A0D3B0276667 + UID + 2DCF087B-0E91-4121-8C03-5C2A3DACC16A + + +