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 1148 korisnika na forumu :: 46 registrovanih, 8 sakrivenih i 1094 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 3466 - dana 01 Jun 2021 17:07

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: A.R.Chafee.Jr., aramis s, bladesu, bojankrstc, bokisha253, ccoogg123, cifra, darios, Denaya, dragoljub11987, Frunze, Hans Gajger, HogarStrashni, ikan, ivan1973, Joja, kolle.the.kid, Komentator, krkalon, Krusarac, Kubovac, Lieutenant, ljuba, Metanoja, mile23, milenko crazy north, Millennium, milutin134, MrNo, Nemanja.M, nemkea71, Parker, procesor, ruma, ss10, stegonosa, theNedjeljko, Tila Painen, USSVoyager, voja64, wolf431, x9, zdrebac, Zimbabwe, Žoržo, Čivi