/usr/share/doc/cdcat/README_IMPORT is in cdcat 1.8-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 | This document descibes how to import catalogs from other catalog programs into cdcat.
Gtktalog
======
-------------------------------------------------------------------------
Now you can import it much easier as in history.
Simply create a report in gtktalog (DESELECT information and select xml as type, catalog.xml as filename).
now you can import the file:
open cdcat, select Import - import database
select your xml file
select xml as type
check 'new database' if you want (if empty there allways a new, but disabling is useful for merging databases)
click 'Import'
finish!
after a while (depends on your database) you will see you catalog in cdcat.
press the save toolbutton to save your cdcat catalog.
-------------------------------------------------------------------------
If you want to import a csv file to can use the older method:
First the lines have to be the following format:
<media>/<path>/.../<file><seperator><size><seperator><day/month/year><space><hour>:<minute>:<second>
First create a report on gtktalog:
Catalog - Create report:
select the following checkboxes (all others off):
-Disks
-Directories
-Files
-Sizes
-Dates
select Disk->Dir-File
enter * as Separator
Select output file, name ist as *.csv
now you can import the file:
open cdcat, select Import - import database
select your csv file
enter * as separator (replace the default ; )
check 'new database' if you want
check correct bad output style from gtktalog export
press 'Import'
after a while (depends on your database) you will see you catalog in cdcat.
press the save toolbutton to save your cdcat catalog.
WhereIsIt?
========
Export - csv - classical
Kat-DeCe
=======
Select Edit - Output, then set the following options:
Target:
- File: test.csv
- Header [x]
What:
- All media (*)
How:
- Database (.CSV) [x]
Information:
- Location/Number [x]
- Media name [x]
- File/directory name [x]
- Extension [x]
- Length [x]
- Date [x]
- Path [x]
- comment [x]
- Manufacturer [x]
- Distributor [x]
- Order number [x]
- Price [x]
- Change date [x]
- Media info [x]
- category [x]
- free space [ ]
Disklib
=====
Library - export
File name: test.csv
Fields:
[x] Name
[x] Volume
[x] FilePath
[x] Path
[x] Size
[x] VolumeSerial
[x] Date
[x] Type
[x] Category
[x] Comments
[x] Location
Options:
Seperator: *
[ ] Unindent subfields
textqualifier: "
Size in: Bytes
[ ] Level
[ ] Archive contents
[x] Export as line
[ ] Folder only
[x] Display all properties
Advanced Disk Catalog
==================
File - Export - Database
Target [CSV file (for MS Excel)]
Volume [All disks]
Category [All categories]
Objects [Files and folders]
Export fields
[x] Volume
[x] File/folder name
[x] Rel. path
[x] Full path
[x] File/folder size
[x] file/folder date
[x] file/folder time
[x] Category
[x] Level
[x] Comments
[x] Files inside
[x] File type
File name: export.csv
Comments: [As is...]
Comments field size: 4096
[ ] Skip items with empty Comments
WhereIsIt (CSV)
=============
Application - Report generator - Report generator wizard
Step1 (Select report type):
(*) prefinied reports
"All files in catalog matching certain file mask"
Step2: (Enter File mask):
Mask: *.*
Step3: (Select range):
Check all
Step 4 (Export settings):
Report title: change to what you want
Report destination: (*) Export: [CSV text file]
Export settings:
Seperator: ;
Report Layout options:
(*) Print data on list 'as is', no sorting
Report columns
[x] File, Folder or Disk
[x] Ext
[x] Item Size
[x] Item Date
[x] Location
[x] Media Type
[x] Folder
[x] Category
[x] Description
[x] Disk #
[x] Item Time
[x] CRC
[x] Tag
[x] Disk Location
|