Skip to main content

A cmd tool based on pyfilesystem2 lib

Project description

fs2

fs2 is a cmd tool based on pyfilesystem2

Usage

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

  This script is pyfilesystem2 command line tool.

  example:
      fs2 ls .
      fs2 -u file://c:/windows ls system32
      fs2 -u zip:///tmp/a.zip 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@127.0.0.1/web/dav/ ls . # pip install fs.webdavfs
      fs2 -u ssh://my.vps.com/home/ ls .                # pip install fs.sshfs
      fs2 --listopener                                  # list all support filesystem

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

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

Commands:
  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

0.1

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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file fs2-0.1.tar.gz.

File metadata

  • Download URL: fs2-0.1.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.9

File hashes

Hashes for fs2-0.1.tar.gz
Algorithm Hash digest
SHA256 c4fd1f0e085b30d165a0b6af3ea07f75aa0131903918f1f57190623f11b7de0d
MD5 17d02750b45dec90e51ca0ea79a0288b
BLAKE2b-256 fd99ec370670a373c464413f71b872f79e988916160a2feefef5d9ab716aa8e7

See more details on using hashes here.

File details

Details for the file fs2-0.1-py3-none-any.whl.

File metadata

  • Download URL: fs2-0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.9

File hashes

Hashes for fs2-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ea09b8ab019eb99b1a5e3a00be943c8b56c11559f2a34996929b0c7de092d407
MD5 19cc94657bea53f6554033a9168450a6
BLAKE2b-256 45bd2a3ee63c0602f55dcd8259f44a29bea0fa944986aa2cfcfef8fd6297d8c2

See more details on using hashes here.

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