File options

From GnokiiWiki

Jump to: navigation, search
Command Line Options

There are two ways of accessing files, through names or through ID numbers. Your phone might support either, or both, or none.

By file name

Note: these commands are supported only by Nokia phones over FBUS. --getfile is supported also by the pcsc driver.

         gnokii --getfilelist remote_path
         gnokii --getfileid remote_filename
         gnokii --getfile remote_filename [local_filename]
         gnokii --getallfiles remote_path
         gnokii --putfile local_filename remote_filename
         gnokii --deletefile remote_filename

Start with

  • --getfilelist 'A:\*' (should show files stored in internal memory)
  • --getfilelist 'B:\*' (should show files stored in external memory, eg. a miniSD or microSD card)

some phones may support other letters.

You need to use the single quotes in the Unix shells like in the examples above or to double the backslash as in --getfilelist A:\\*.

You can also use a forward slash: <code--getfilelist A:/*</code>

By file ID

Note: these commands are supported only by Nokia phones over FBUS.

         gnokii --getfiledetailsbyid [id]
         gnokii --getfilebyid id [local_filename]
         gnokii --deletefilebyid id

Running --getfiledetailsbyid with no argument gives a listing of the root directory. The numbers in parentheses are ID numbers of the files or subdirectories.

Personal tools