mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 15:10:28 +00:00
use find and cp instead
This commit is contained in:
parent
88a1384983
commit
c5fcbe24cf
1 changed files with 2 additions and 1 deletions
|
@ -95,7 +95,8 @@ else
|
|||
vm)
|
||||
mount_vdisk
|
||||
echo "Copying src to vdisk..."
|
||||
sudo rsync -av --exclude='.*' ../src/ $TMPMOUNT/
|
||||
cd ../src/
|
||||
sudo find . \( ! -path './.*' -and ! -name '.*' \) -and ! -path '*/.*/*' -type f -exec cp --parents {} $TMPMOUNT/ \;
|
||||
umount_vdisk
|
||||
echo "Finished."
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue