]> gitweb.hhaalo.de Git - discspan-java.git/commitdiff
add: readme file
authorBastian Dehn <hhaalo@arcor.de>
Fri, 4 Feb 2022 19:37:23 +0000 (20:37 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Fri, 4 Feb 2022 19:37:23 +0000 (20:37 +0100)
readme.md [new file with mode: 0644]

diff --git a/readme.md b/readme.md
new file mode 100644 (file)
index 0000000..c347838
--- /dev/null
+++ b/readme.md
@@ -0,0 +1,37 @@
+# discspan
+
+## 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 output file with number zero.
+
+## Installation
+
+```bash
+mkdir build
+cd build
+
+cmake ..
+
+make
+```
+
+## Example to use
+
+```bash
+# 1. Create a data file list:
+find /pfad/zur/den/Dateien -type f > testfile
+
+# 2. Execute discspan to split files on single layer DVD
+java -jar discspan.jar -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
+
+[MIT License](license)