Login About Gallery
Folder Sync
file.getfoldercontents Under Construction
VARIABLES
Set variable
Folder 1 Contents
to
Contents of Folder
file.getfoldercontents Under Construction
VARIABLES
Set variable
Folder 2 Contents
to
Contents of Folder
LIST
Folder 1 Contents
Folder 2 Contents
SCRIPTING
Repeat with each item in
List
SCRIPTING
Get
First Item
from
Repeat Item
DOCUMENTS
Get
File Path
from
Item from List
TEXT
Split
File Path
by
Custom
/
SCRIPTING
Count
Items
in
Split Text
MATHS
Options Under Construction
SCRIPTING
Get
Items in Range
1
to
Calculation Result
from
Split Text
TEXT
Combine
Item from List
with
Custom
/
VARIABLES
Set variable
File Path
to
Combined Text
DOCUMENTS
Get
Last Modified Date
from
Repeat Item
CALENDAR
Get dates from
Last Modified Date
SCRIPTING
Repeat with each item in
Dates
SCRIPTING
If
Last Modified
does not have any value
VARIABLES
Set variable
Last Modified
to
Repeat Item 2
Otherwise
SCRIPTING
If
Repeat Item 2
is greater than
Last Modified
VARIABLES
Set variable
Last Modified
to
Repeat Item 2
Otherwise
End If
End If
End Repeat
SCRIPTING
If
Repeat Index
is
1
VARIABLES
Set variable
Folder 1 Last Modified
to
Last Modified
VARIABLES
Set variable
Last Modified
to
Input
VARIABLES
Set variable
Folder 1 File Path
to
File Path
VARIABLES
Set variable
File Path
to
Input
Otherwise
VARIABLES
Set variable
Folder 2 Last Modified
to
Last Modified
VARIABLES
Set variable
Folder 2 File Path
to
File Path
End If
End Repeat
CALENDAR
Get time between
Folder 1 Last Modified
and
Folder 2 Last Modified
in
Total Time
SCRIPTING
SCRIPTING
Show alert
Informational Message
Title
optional
Show Cancel Button
SCRIPTING
Exit shortcut with
Result
Otherwise
End If
SCRIPTING
If
Time Between Dates
is less than
0
COMMENT
Folder 1 is newer.
SCRIPTING
Repeat with each item in
Folder 1 Contents
DOCUMENTS
Save
Repeat Item
Service
iCloud Drive
Ask Where to Save
Destination Path
/Shortcuts/Text
Overwrite If File Exists
End Repeat
Otherwise
COMMENT
Folder 2 is newer.
SCRIPTING
Repeat with each item in
Folder 2 Contents
DOCUMENTS
Save
Repeat Item
Service
iCloud Drive
Ask Where to Save
Destination Path
/Shortcuts/Text
Overwrite If File Exists
End Repeat
End If
TEXT
Folder 1:
Folder 2 File Path
Folder 2:
Folder 1 Last Modified
Time between:
Folder 2 Last Modified
Folder 1 File Path:
Folder 1 File Path
Folder 2 File Path:
Time Between Dates
SCRIPTING
Get the
System Version
SCRIPTING
If
System Version
contains
mac
SCRIPTING
Choose from Menu
Show Folder 1
file.reveal Under Construction
Show Folder 2
file.reveal Under Construction
End Shortcut
End Menu
Otherwise
End If

Showcuts

Magic Vars

Screenshot

Submitted Anonymously 22 days ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0