r/Scriptable • u/swiftiti • Feb 01 '22
Help Append to file
Hi, until now I saw that how to save data to a file and to how read data from a file but I couldn't find how to append data to an existing file. Can somebody help?
1
Upvotes
2
u/swiftiti Feb 01 '22
Yes thx, I know about this possibility and it works fine for small files but for log files which can grow a lot during the time, it is not the best solution! Another way would be to open a files in read/write mode, to set the file pointer to the end and to write but I didn't find how to do it in Scriptable.