C'è qualche strumento per copiare un file da un dato offset iniziale alla data (fine) offset. Voglio anche confermare che lo strumento ha giustamente copie specificate byte eseguendo md5sum. Qualche cosa come questastrumento per copiare file da data 'x' (partenza) offset al dato 'y' (fine) compensato
1) Copy source file starting from 100 byte till 250th byte
$cp /path/to/source/file /path/to/dest/file -s 100 -e 250
2) Create md5sum of the source file starting from 100byte till 250th byte
$md5sum /path/of/src/file -s 100 -e 250
xxxxxx-xxxxx-xxxxx-xxxx-xx
3) Confirm that destination file created from step 1 is right by comparing the md5sum generated from step 2.
$md5sum /path/of/dest/file
xxxxxx-xxxxx-xxxxx-xxxx-xx
So md5sum non ha la possibilità di -s e -e, ma vorrei confermare con qualche strumento dato il file di origine e il file di destinazione. Grazie in anticipo
impressionante, funziona perfettamente. Ancora una volta grazie :) – Viswesn
Saluti :) Prego. – favoretti