[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[coldsync-hackers] vfs-console




 Hello guys,

    I've just added a new conduit to the CVS. It's called vfs-console
 and we are using it to perform some maintenance functions on SD cards.

  It's quite small and simple, but i thought it would have been useful
 to share it with others.

  Its usage is very simple. Add it to the conduit chain in your .coldsyncrc
 file (type: none;) and begin an hotsync process.

  When you read the

vfs-console: awaiting connection...

  on the coldsync's stdout, connect to the conduit with

 telnet localhost 12345
or
 nc localhost 12345)

  and write 'help' to get some help (doh!).

 
Your output will look like this:

Trying 127.0.0.1...
Connected to inspiron.
Escape character is '^]'.
vfs-console 0.9 - Copyright (c) 2003 Tower Technologies
In case of panic, enter 'help'.
vfs> help

enum			Enumerate volumes (INVOKE THIS FIRST!)
info			Show colume infos
ls	[path]		Guess what?
get	<file>		Download a file (complete path, please)
help			This text	

vfs> enum
vfs> ls /PALM
Reading /PALM on volume 1...

[DIR] Launcher
[DIR] Programs
[DIR] TowerTech
[DIR] PDS
vfs> ls /PALM/PDS
Reading /PALM/PDS on volume 1...

BBA6018E.pdb
vfs> get /PALM/PDS/BBA6018E.pdb
File opened
Size: 2966
Read: 2966, 2966 to go.
Writing to /tmp/BBA6018E.pdb...
done.
vfs> quit          
goodbye.
Connection closed by foreign host.




-- 

 Best regards,

 Alessandro Zummo,
  Tower Technologies - Turin, Italy

  http://www.towertech.it
This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.