GmailFS - Gmail Filesystem

GmailFS - Gmail Filesystem

offline
  • AxeZ 
  • Legendarni građanin
  • Pridružio: 17 Apr 2003
  • Poruke: 3989
  • Gde živiš: Novi Sad, Vojvodina

http://richard.jones.name/google-hacks/gmail-filesystem/gmail-filesystem.html

GmailFS provides a mountable Linux filesystem which uses your Gmail account as its storage medium. GmailFS is a Python application and uses the FUSE userland filesystem infrastructure to help provide the filesystem, and libgmail to communicate with Gmail.

GmailFS supports most file operations such as read, write, open, close, stat, symlink, link, unlink, truncate and rename. This means that you can use all your favourite unix command line tools to operate on files stored on Gmail (e.g. cp, ls, mv, rm, ln, grep etc. etc.).

Please be gentle on the Python code. This is my first foray into Python and I'm sure the code is far from elegant. I'm particularly concerned with my attempts to manipulate mutable byte arrays in Python. I'm sure that there must be a less clumsy way of doing it than the nasty list -> array -> string path I'm currently using. Python has a reputation as an excellent language choice for rapid prototyping. The first working version of GmailFS took about 2 days of coding. There was an additional 1.5 days spent on performance tuning and bugfixing. Given that this includes language learning curve, Python's reputation seems well deserved.



Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
offline
  • Pridružio: 18 Apr 2003
  • Poruke: 550

Pa ovo je strava... uradjeno je tako dobro, da se posta sa Gmaila salje na localhost, i da moze da se cita ako se jednostavno ukuca mail, hehe...



offline
  • AxeZ 
  • Legendarni građanin
  • Pridružio: 17 Apr 2003
  • Poruke: 3989
  • Gde živiš: Novi Sad, Vojvodina

Ne samo posta.
Mozes transparentno koristiti tih 1 Gb podataka na Gmailu ko da su na lokalnom disku...Smile

offline
  • AxeZ 
  • Legendarni građanin
  • Pridružio: 17 Apr 2003
  • Poruke: 3989
  • Gde živiš: Novi Sad, Vojvodina

Evo, upravo probam ovo.
Nije lose, nije lose...malo sporo doduse ali 1GB online prostora a da se radi kao na lokalnom disku su extra cool.

Ko je trenutno na forumu
 

Ukupno su 714 korisnika na forumu :: 39 registrovanih, 3 sakrivenih i 672 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 3028 - dana 22 Nov 2019 07:47

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: A.R.Chafee.Jr., aleksandarcipo 2, aleksmajstor, alfa91, amaterSRB, Apok, bigfoot2, bojan313, Boris90, bulovic, cavatina, cvrle312, damirZR, djboj, hyla, ivance95, jovan.simovic97, kaptain2, krkalon, Kubovac, kvcali, louderick, Marko Marković, Mercury2, Milan A. Nikolic, MILO-VAN, mrvica78, NenadG, patton, Recce, rodoljub2, srecko81, StepskiVuk2, stug, Toni, VJ, vlad the impaler, vlvl, Warhawk