3π
β
Itβs not possible to open a file on S3, you can only read them or add/replace them over the network.
There is an open source command line tool called s3fs which emulates mounting an s3 bucket as a user space file system. With it mounted like this you can use any commands that you would use on ordinary files in your file system to open read and write to a file, but behind the scenes it is doing some local caching for all your writes and then uploading the file when you close the handle.
π€Paul
Source:stackexchange.com