| Method Summary |
| |
__init__(self,
arg,
file_in,
file_out,
file_err,
config_filename,
comm_port,
phone_model)
Constructor |
| |
cd(self,
args)
Change the current working dir on the phone FS. |
| |
cdu(self,
args)
Change to current working dir on the phone up one level (parent). |
| |
cli(self,
_)
Run a primitive interactive CLI sesssion. |
| |
cp(self,
args)
Transfer files between the phone filesystem and local filesystem |
| |
cwd(self,
_)
Print the current working dir(cwd/pwd) on the phone FS. |
| |
ll(self,
args)
Do a long dir listing command |
| |
log(self,
logstr)
|
| |
logdata(self,
logstr,
logdata,
dataclass,
datatype)
|
| |
ls(self,
args)
Do a directory listing |
| |
mkdir(self,
args)
Create one or more dirs on the phone FS. |
| |
progress(self,
pos,
maxcnt,
desc)
Update the progress meter |
| |
pwd(self,
_)
Print the current working dir(cwd/pwd) on the phone FS. |
| |
rm(self,
args)
delete one or more files on the phone FS. |
| |
rmdir(self,
args)
Delete one or more phone FS directories. |
| |
run(self,
cmdline)
Execute the specified command if specified, or the one currently
stored |
| |
_cpdirfromphone(self,
dirname,
destdir,
wildcard)
|
| |
_cpdirtophone(self,
dirname,
destdir,
phonefs)
|
| |
_cpfilefromphone(self,
filename,
destdir)
|
| |
_cpfiletophone(self,
name,
destdir,
phonefs,
force)
|
| |
_cpfromphone(self,
args)
|
| |
_cptophone(self,
args)
|
| |
_parse_args(self,
args,
force_phonefs)
Parse the args for a list of input and out args |
| Inherited from object |
| |
__delattr__(...)
x.__delattr__('name') <==> del x.name |
| |
__getattribute__(...)
x.__getattribute__('name') <==> x.name |
| |
__hash__(x)
x.__hash__() <==> hash(x) |
| |
__new__(T,
S,
...)
T.__new__(S, ...) -> a new object with type S, a subtype of T |
| |
__reduce__(...)
helper for pickle |
| |
__reduce_ex__(...)
helper for pickle |
| |
__repr__(x)
x.__repr__() <==> repr(x) |
| |
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value |
| |
__str__(x)
x.__str__() <==> str(x) |