ShareShortcuts
Fork “Move Files”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so hunter9888x gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
63K
Saved
0
Actions
20
Category
Utilities
Version
1.4
Language
EN

Move files to folder /Shortcuts/Move

Move files to specific folder

Or create folder to move files too

Created by me

What's New

Version 1.4

Fixed up code

Version History
1.4 Dec 20, 2019

Fixed up code

1.3 Dec 14, 2019

Fixed didn’t delete old file from save too location

1.2 Dec 14, 2019

Fixed up code

1.1 Dec 14, 2019

Added create folder

1.0 Dec 14, 2019

First release

What it does

20 actions
  1. Choose from Menu
  2. Choose from Menu
    Move Files
  3. Get File
  4. Repeat with Each
  5. Choose from Menu
    Move Files & Save too
  6. Get File
  7. Repeat with Each
  8. Save File
  9. Delete Files
  10. Stop This Shortcut
  11. Choose from Menu
    Create Folder to Save too
  12. Ask for Input
    Set Folder Name to Use
  13. Set Variable
    Folder name
  14. Create Folder
  15. Show Result
  16. Stop This Shortcut
  17. Create Folder
  18. Save File
  19. Delete Files
  20. Show Result

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#include 'actions/documents'
#define color orange
#define glyph magicWandAlt


menu nil {
item "Move Files":
	const File = getFileFromFolder(, "")
	for _ in File {
	}
item "Move Files & Save too":
	const File1 = getFileFromFolder(, "")
	for _ in File1 {
	}
	const SavedFile = saveFilePrompt(RepeatResults)
	deleteFiles(RepeatResults)
	stop()
item "Create Folder to Save too":
	prompt("Set Folder Name to Use")
	@FolderName
	createFolder(@FolderName)
	show("New Folder is /Shortcuts/{@FolderName}")
	stop()
}
createFolder("Move")
saveFile("Move", MenuResult, true)
deleteFiles(MenuResult)
show("In folder /Shortcuts/Move")
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

More by hunter9888x

See All

You Might Also Like

See All
Advertisement