We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d93f9e commit af5ef89Copy full SHA for af5ef89
share/github-backup-utils/ghe-restore-storage
@@ -50,7 +50,7 @@ remote_routes_list=$remote_tempdir/remote_routes_list
50
51
# Find the objects to restore
52
cd $GHE_DATA_DIR/$GHE_RESTORE_SNAPSHOT/
53
-find storage -mindepth 4 -maxdepth 4 -type f | xargs -n 1 -P 0 wc -c > $storage_paths
+find storage -mindepth 4 -maxdepth 4 -type f | xargs -0 -n 1 -P 0 wc -c > $storage_paths
54
55
# No need to restore anything, early exit
56
if [ -z $storage_paths ]; then
0 commit comments