Append to Text File

action-icon-append-to-text-file.webp

Adds the text passed as input to the end of the specified file. Requires the name or path of the file to retrieve. For example, if you are appending a file called “notes.txt” in a folder called “Public”, use “/Public/notes.txt”.

Score
Type
InterActivity
Expertise
4/5
Type
InterActivity
Expertise

Action Information

Parameters

[Append/Prepend] [Text]
– Service: [iCloud Drive/Dropbox]
– File Path: /example.txt [Text]
– Make New Line: [Toggle]

Input

Text

Result

(File) The file that was appended to

Details

Type
Interactivity
Expertise Needed
Matthew's Score
4/5
Date Added
17/03/2017
Identifier
is.workflow.actions.file.append

Notes

File Path
The name or path of the file to retrieve. For example, if you are appending a file called “notes.txt” in a folder called
“Public”, use “/Public/notes.txt”.

Note
If no file exists yet at the specified path, a new file will be created. Make sure to include a file extension (usually .txt) at the end of your path.

Requires access to iCloud Drive, your Dropbox account

Works Well With

shortcuts-action-icon-get-link-to-file.webp
Get Link to File
Gets a public link to the file passed into the action.
shortcuts-action-icon-generate-hash.webp
Generate Hash
Generates a MD5/SHA1 hash from the input.
action-icon-base64-encode.webp
Base64 Encode
Encodes or decodes text or files using Base64 encoding.

Shortcuts Using This

No results found.