Skip to content

scx1332/cat-once

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cat-once

Cat and truncate file at the same time, by recopying it to itself.

Sample usage

Unpack files from zst tar to output directory

cat-once --file test2.tar.zst --truncate 33 | tar -I zstd -xf - -C output

cat-once --dry-run --file heimdall-mainnet-snapshot-bulk-2024-02-01.tar.zst -c 1010765k | tar -I zstd -xf - -C output

About

Cat and truncate file at the same time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published