3 <link rel=
"stylesheet" type=
"text/css" href=
"style.css" />
4 <title>Positron User's Guide: Command Reference
</title>
7 <h1>Positron User's Guide: Command Reference
</h1>
12 The general syntax for positron is:
14 positron [-c config_dir] [-m mountpoint] [command] [command arguments]
19 <dt>-m mountpoint, --mount-point=mountpoint
</dt>
20 <dd>The directory where the Neuros is mounted. This overrides
21 whatever is stored in the configuration file.
</dd>
23 <dt>-c config_dir, --config=config_dir
</dt>
24 <dd>The directory where the positron configuration is stored. By
25 default this is
<tt>~/.positron
</tt>.
</dd>
28 The commands are described below.
34 Adds files to the Neuros database, copying as necessary. Files that
35 are already on the Neuros will not be overwritten, but just added to
36 the database if not already present. Non-music files are ignored.
43 positron add [sourcefile] [targetfile]
46 Copies sourcefile to targetfile (a path on the Neuros that does not exist)
50 positron add [sourcefile1] [sourcefile2] ... [targetdir]
53 Copies sourcefiles to targetdir (a directory on the Neuros that already
58 positron add [sourcefile1] [sourcefile2] ...
61 Copies sourcefiles to the default music directory. Copy directories
62 to the default music directory the same way.
69 Removes files both from the Neuros database and from the Neuros
70 filesystem. Positron will only delete files that have database
71 entries, and will remove directories only if they are empty. Positron
72 remembers which files have been deleted using this command, and will
73 not recopy them during
<a href=
"#sync">synchronization
</a>. Deleted
74 files can be recopied using the
<a href=
"#add">add
</a> command. The
75 list of deleted files can also be purged using the
76 <tt>--reset-deleted
</tt> option to the
<a href=
"#sync">sync
</a>
84 positron del [files or directories]
87 Searches a list of files and/or directories on
88 the Neuros itself (ex: /mnt/neuros/music/rock) to be removed.
89 Directories will be recursively searched for music files to delete.
93 <h2 id=
"clear">clear
</h2>
95 Clears all entries from the databases. This does not remove any
106 Clears all databases.
110 positron clear [database1] [database2] ...
113 Clears all entries from a particular database. Valid database names
114 are: audio, pcaudio, unidedhisi, idedhisi, failedhisi
118 <h2 id=
"config">config
</h2>
120 Creates or modifies the current configuration interactively. Positron
121 will ask you a series of questions and create a configuration files
122 based upon your answers. If you already have a configuration, those
123 options will be the default answers. See the
124 <a href=
"config.html">configuration guide
</a> for more information.
127 <h2 id=
"help">help
</h2>
129 Displays help information about positron commands.
139 Shows general help about positron and a brief listing of commands.
143 positron help [command]
146 Displays detailed help about a specific command.
150 <h2 id=
"list">list
</h2>
153 Lists all of the entries in a database. Only listing the audio
154 database is supported at this time.
163 Lists entries in the audio database
167 positron list [database1] [database2] ...
170 List all entries from a particular database. Valid database names
171 are: audio, pcaudio, unidedhisi, idedhisi, failedhisi
175 <h2 id=
"pack">pack
</h2>
178 Removes unused space from databases. This is created when entries are
179 deleted from the database. Note that packing is automatically done
180 whenever you
<a href=
"#sync">synchronize
</a> with positron, so you
181 should seldom need to do this manually.
195 positron pack [database1] [database2] ...
198 Packs all entries from a particular database. Valid database names
199 are: audio, pcaudio, unidedhisi, idedhisi, failedhisi
203 <h2 id=
"rebuild">rebuild
</h2>
206 Recreates the Positron databases from the music tracks found on the
207 Neuros. This command completed wipes the Neuros databases and
208 rebuilds them from scratch. It is needed if your databases have
209 become corrupted. Positron will locate all of the music files already
210 on the Neuros and put their entries back into the database as best as
211 it can guess. The database of music stored on your computer
212 (
"pcaudio") will cleared and all HiSi clips will be marked as
213 unidentified even if they had been previously identified.
222 Rebuilds all of the databases.
226 <h2 id=
"sync">sync
</h2>
229 Synchronizes your Neuros with your music library. This will scan all
230 of the syncpoints specified during
<a
231 href=
"config.html">configuration
</a> for new files and copy them to
232 your Neuros. It also scans your Neuros for new FM, microphone or
233 line-in recordings and copies them to your, if you specified a
234 location for them during configuration.
238 Positron remembers which files have been removed with
<tt>positron
239 del
</tt> and which recordings have already been copied to the
240 computer. They will not be recopied. You can clear these lists with the options shown below.
250 Synchronizes Neuros with your computer.
254 positron sync --reset-deleted
258 Clears the list of deleted tracks. This does not perform
259 synchronization. Rerun
<tt>sync
</tt> without options to
264 positron sync --reset-recordings
268 Clears the list of recordings that have already been copied to the
269 computer. This does not perform synchronization. Rerun
<tt>sync
</tt>
270 without options to synchronize.