mirror of
https://github.com/markusressel/zfs-inplace-rebalancing
synced 2026-02-04 21:14:09 +00:00
Fix pasting issue
This commit is contained in:
parent
a2d282d483
commit
34b59acc95
@ -282,7 +282,7 @@ if [[ "${OSName}" == "linux-gnu"* ]]; then
|
||||
find "$root_path" -type f -not -path '*/.zfs/*' -exec stat --printf '%d:%i|%n\n' {} \; > files_list.txt
|
||||
elif [[ "${OSName}" == "darwin"* ]] || [[ "${OSName}" == "freebsd"* ]]; then
|
||||
# Mac OS and FreeBSD
|
||||
find "$root_path" -type f -not -path '*/.zfs/*' -exec sh -c 'stat -f "%d:%i|%N" "$0"' {} \; {} \; > files_list.txt
|
||||
find "$root_path" -type f -not -path '*/.zfs/*' -exec sh -c 'stat -c "%d:%i|%N" "$0"' {} \; > files_list.txt
|
||||
else
|
||||
echo "Unsupported OS type: $OSTYPE"
|
||||
exit 1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user