From 34b59acc954e66cbeb5103a377a7aa9db9f3d9e4 Mon Sep 17 00:00:00 2001 From: Colin Hebert Date: Sun, 23 Mar 2025 11:45:31 +1100 Subject: [PATCH] Fix pasting issue --- zfs-inplace-rebalancing.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zfs-inplace-rebalancing.sh b/zfs-inplace-rebalancing.sh index 903cfbc..ee9af28 100755 --- a/zfs-inplace-rebalancing.sh +++ b/zfs-inplace-rebalancing.sh @@ -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