Skip to content

Instantly share code, notes, and snippets.

@alvarlaigna
Forked from joohee/s3fs.sh
Created March 28, 2019 07:27
Show Gist options
  • Save alvarlaigna/a06daf62557c33acbf89afc898fe79d6 to your computer and use it in GitHub Desktop.
Save alvarlaigna/a06daf62557c33acbf89afc898fe79d6 to your computer and use it in GitHub Desktop.
s3fs mount/umount
#!/bin/sh
echo "mount"
echo "s3fs [bucketname] [directory] -ouse_cache=/tmp -o allow_other"
echo "unmount"
echo "fusermount -u [directory]"
#echo "pkill -9 -f s3fs"
echo "s3fs bucket_name directory_name -o default_acl=public-read -o use_cache=/tmp -o uid=22 -o gid=500 -o umask=007 -o allow_other"
s3fs bucket_name directory_name -o default_acl=public-read -o use_cache=/tmp -o uid=22 -o gid=500 -o umask=007 -o allow_other
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment