GithubHelp home page GithubHelp logo

jfs's Introduction

Projects:

  • gdocs - javai.nio.filesystem.FileSystem implmenetation to save and read files to/from google docs/drive
  • cli - simple test shell to test any file system provider
  • sync - cli interface for a simple FileVisitor which backup files to/from a remote file system

Current status: draft

I am using it to bulk upload and download from/to the google drive but a lot of things still missing:

  1. the nio FileSystem API is not fully implemented (move,copy,delete is missing)
  2. no settings for adjusting cache settings
  3. sync cli supports only one way sync without overwriting any file
  4. syntax of the sync app will be changed
  5. Atribute handling should be improved

Usage:

java -jar cli.jar file:/// /tmp/todir gdocs:/// /archive

or from java code:

Path p = FileSystems.getFileSystem(new URI("gdocs://docs.google.com")).getPath("/archiv/auto/something.pdf");

Path to = FileSystems.getDefault().getPath("/tmp").resolve(p.getRoot().relativize(p).toString());

Files.createDirectories(to.getParent());

jfs's People

Watchers

Rohan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.