1.0.11 • Published 5 years ago

textfs v1.0.11

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

text-fs

Convert file system to text files and back

Implemented:

  • filesystem -> json
  • json -> filesystem
  • directories
  • files
  • symlinks

Todo:

  • permissions and ownership

Use cases

  • store/backup file structures in password managers :)
  • send file structures as chat messages
  • prob more stuff I can't think of right now

How to use

╰─>$ fs2json --help
fs2json <input>

Convert folders/files -> json repr

Options:
  --version      Show version number                                   [boolean]
  --verbose, -v  print more stuff                     [boolean] [default: false]
  --help         Show help                                             [boolean]

Examples:
  fs2json /home/someone/somedir  Converts /home/someone/somedir to json
                                 recursively
╰─>$ json2fs --help
json2fs <output>

Convert json from stdin to fs

Options:
  --version      Show version number                                   [boolean]
  --verbose, -v  print more stuff                     [boolean] [default: false]
  --input, -i    Get input from file instead of stdin                   [string]
  --help         Show help                                             [boolean]

Examples:
  json2fs outputdir               Converts json from stdin to fs @ outputdir
  json2fs -i inputfile outputdir  Converts json from inputfile to fs @ outputdir
1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago