.TH "memcard" "1" "0.9.1" "Martin Preuss" "LibChipCard" .SH "NAME" .LP memcard \- A tool to read/write data from/to a memory chip card .SH "SYNOPSIS" .br .B memcard .RB COMMAND .RB \| \-a .IR addr \| .RB \| \-s .IR size \| .RB [\| \-f .IR file \|] .RB [\| \-p .IR pin \|] .RB [\| \-C .IR configfile \|] .br .SH "DESCRIPTION" .LP The memcard utility allows you to read and write memory chip cards. .BR .SH "COMMANDS" The parameter COMMAND can be one of the following. Invoking without a COMMAND parameter displays instructions. .TP \fBread read from the card and store to FILE (or stdout) .TP \fBwrite write FILE (or stdin) to the card .SH "OPTIONS" .LP .TP \fB\-a\fR \fIaddr\fP address on chip card to start reading or writing .TP \fB\-s\fR \fIsize\fP number of bytes to read or write .TP \fB\-f\fR \fIfile\fP Use the specified file as the target for read and source for write operations. If omitted, defaults to stdout and stdin, respectively. .TP \fB\-p\fR \fIpin\fP Use pin to access protected cards. The in is a 6 digit code. .TP \fB\-C\fR \fIconfigfile\fP Uses the given configuration file. If omitted, the file \fI/etc/chipcardd.conf\fR is used. .SH "FILES" .LP \fI/etc/chipcardd.conf\fP .br .SH "ENVIRONMENT VARIABLES" .LP memcard does not use any environment variables .BR .SH "EXAMPLE" The simplest usage of this program is: .LP memcard read -s 128 .LP This shows the type of the card (either DDV or RSA). .SH "AUTHORS" .LP Martin Preuss .SH "SEE ALSO" .LP libchipcard.conf(5) chipcardc.conf(5)