meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| linux:fs:ext4 [2024/11/15 10:33] – niziak | linux:fs:ext4 [2024/11/15 10:57] (current) – niziak | ||
|---|---|---|---|
| Line 25: | Line 25: | ||
| <code bash> | <code bash> | ||
| - | |||
| rmlint /BIG/POOL --progress --xattr -c sh:hardlink --size 1M | rmlint /BIG/POOL --progress --xattr -c sh:hardlink --size 1M | ||
| + | </ | ||
| - | cp rmlint.json POOL.json | + | Tools doesn' |
| - | rmlint /BIG/POOL --progress | + | Please review script, especially function '' |
| + | Function needs to hande errors a bit better - it first removes file without backup, and then if error occurs during hardlink there is no way back. | ||
| + | |||
| + | <file diff rmlint.patch> | ||
| + | 1c1 | ||
| + | < #!/bin/sh | ||
| + | --- | ||
| + | > # | ||
| + | 192a193 | ||
| + | > mv " | ||
| + | 194a196 | ||
| + | > rm ~" | ||
| + | </ | ||
| - | </ | ||