|
Database - Obtaining & Unpacking |
|
Obtaining & Unpacking |
How to obtain color spectra from database? Spectra set can be obtained via anonymous ftp or WWW. NOTE that some files have longer filenames than eight characters and the number of extensions may be more than one. That does not cause any problems with unix systems but when transferring files into systems which cannot handle long filenames (e.g. DOS) they should be given shorter filenames first. Remember to obtain the README.txt file from that directory where you transfer spectra sets. Using ftp service:
$ftp cs.joensuu.fi
Connected to cs.joensuu.fi.
220 kannel FTP server
(Version 1.7.193.3 Thu Jul 22 18:32:22 GMT 1993)
ready.
Name (cs.joensuu.fi:spectral): ftp
331 Guest login ok, send ident as password.
Password: 'yourUserid@yourhost'
230 Guest login ok, access restrictions apply.
ftp> bin
ftp> cd pub/color/spectra
250 CWD command successful.
ftp> dir
ftp> cd 'Subdirectory'
ftp> get 'Filename'
....
....
....
ftp> bye
How to unpack loaded files? Spectra sets are all compressed with gzip and some of them are also tarred before compressing. To decompress: All compressed spectra sets have the extension '.gz'.
To untar: All tarred spectra sets have the extension '.tar'.
To decompress and untar:
|
|
Department of Computer Science |