## Description
-Discspan split a text file with data source pathes. Each output file contains
-the pathes on one media. The output file is calculate best use space on media.
-Files to big for a media is in file with number zero.
+Discspan split a text file with data source pathes. Each output file contains
+the pathes on one media. The output file is calculate best use space on media.
+Files to big for a media is in output file with number zero.
## Installation
+```bash
mkdir build
cd build
+
cmake ..
+
make
make install
+```
-## Example to use
-
-1. Create a data file list:
-
- find /pfad/zur/den/Dateien -type f > testfile
+## Options
-2. Execute discspan to split files on single layer DVD
+Example:
+> cmake -DBUILD_SHARED_LIBS=OFF ..
- discspan -i testfile -o medium -5
+BUILD_SHARED_LIBS
+> Build a shared library default is ON
-3. Copy files from text file into seperated folder
+## Example to use
- rsync -av --files-from=medium / /pfad/zum/wegkopieren/
+```bash
- or
+# 1. Create a data file list:
+find /pfad/zur/den/Dateien -type f > testfile
- cat medium | xargs -i cp -rl --parents {} /pfad/zum/wegkopieren
+# 2. Execute discspan to split files on single layer DVD
+discspan -i testfile -o medium -5
+# 3. Copy files from text file into seperated folder
+rsync -av --files-from=medium / /pfad/zum/wegkopieren/
+# or
+cat medium | xargs -i cp -rl --parents {} /pfad/zum/wegkopieren
+```
## Licence