Skip to main content

A cmd tool based on pyfilesystem2 lib

Project description


fs2 is a cmd tool based on pyfilesystem2


Usage: fs2 [OPTIONS] COMMAND [ARGS]...

  This script is pyfilesystem2 command line tool.

      fs2 ls .
      fs2 -u file://c:/windows ls system32
      fs2 -u zip:///tmp/ ls /
      fs2 -u tar:///etc/bak.tar.gz  ls opkg config
      fs2 -u temp:// ls .
      fs2 -u s3:// ls .                                 # pip install fs-s3fs
      fs2 -u dropbox:// ls .                            # pip install fs.dropboxfs
      fs2 -u webdav://user:pass@ ls . # pip install fs.webdavfs
      fs2 -u ssh:// ls .                # pip install fs.sshfs
      fs2 --listopener                                  # list all support filesystem

  mutil url is supported:
      fs2 -u /tmp -u ssh://vps/tmp ls .

  -l, --listopener  list supported file system
  -u, --url TEXT    filesystem url: default is "."
  --help            Show this message and exit.

  cat    read file and print content.
  cp     copy file (same fs).
  dl     download file to local disk.
  info   get info of resource.
  ls     list files and dirs.
  mkdir  create directory.
  mv     move file (same fs).
  rm     delete file and dirs.
  rmdir  get info of resource.
  tree   list files and dirs as tree view.
  up     upload local disk file to remote filesystem.

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fs2-0.1.tar.gz (8.0 kB view hashes)

Uploaded source

Built Distribution

fs2-0.1-py3-none-any.whl (15.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page