Optimize rsync command in AutoInstaller GUI for better performance

- Remove --stats and --human-readable flags from rsync command
- These flags add overhead by generating statistics and human-readable output
- Now matches the original auto-installer.sh rsync command exactly
- Should improve copy performance by reducing processing overhead
- Maintains --progress flag for dynamic progress updates in GUI

This optimizes the system copy process to match the performance
of the original auto-installer.sh script while preserving GUI progress feedback.
parent 5e67930f
......@@ -728,7 +728,7 @@ class InstallerWorker(QThread):
# Exclude the target directory to prevent copying into itself
target_exclude = f'--exclude={target_mount}'
cmd = [
'rsync', '-av', '--progress', '--stats', '--human-readable',
'rsync', '-av', '--progress',
target_exclude,
'--exclude=/proc', '--exclude=/sys', '--exclude=/dev',
'--exclude=/tmp', '--exclude=/run', '--exclude=/mnt',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment