Skip to content

lonk/lo14

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vsh Script

Vsh is a bash script that allow you to create an archive server and also to connect to this server in order to browse or extract an archive. The archives are text file with header and then content of files. Unfortunately, there is currently no function to create an archive based on a directory but there is an archive example provided in the archives directory.

How to use

Start/Stop server

  • To start a server :
	./vsh.bash -start [destination]* [port] [archive_directory]*
  • To stop a server :
	./vsh.bash -stop [destination]* [port]

*: optional.

Client connection

  • To display the archives available on a server :
	./vsh.bash -list [destination] [port]
  • To browse an archive :
	./vsh.bash -browse [destination] [port] [archive_name]
  • To extract an archive on your computer :
	./vsh.bash -extract [destination] [port] [archive_name]

Using browse mode

While using browse mode, there is a lot of linux-like command such as cd, ls, pwd, rm, etc. Type help to show them all.

Credits

License

The MIT License (MIT). Please see License File for more information.

Releases

No releases published

Packages

No packages published

Languages