For sale | "Goodbyes are only for those who love with their eyes. Because for those who love with heart and soul there is no such thing as separation" Rumi
Vraag
Beste antwoord (via MrMarcie op 27-09-2023 14:48)
rsync -a --del /mnt/draaischijf/home/marc/.local/ /home/marc/.local/
An unbreakable toy is useful to break other toys
Alle reacties
rsync -a --del /mnt/draaischijf/home/marc/.local/ /home/marc/.local/
An unbreakable toy is useful to break other toys
hout-nerd - www.hetmooistehout.nl of www.houtenschalen.nl
pcvanmarc:~ # du -sh /home/marc/.local 18G /home/marc/.local
Dan weet je hoever hij is (18/141=13%) en hoe lang het dan ongeveer nog gaat duren.
An unbreakable toy is useful to break other toys
Je zou ook een SIGINFO signal kunnen gebruiken ipv du te gebruikenMartinMeijerink schreef op woensdag 27 september 2023 @ 07:48:
Dat kan het ook weer wat langzamer maken, vooral met heel veel kleine bestanden (scheelt niet veel misschien), maar je hebt dan nog geen idee wanneer het klaar is. Wat ik nog weleens doe is na een kwartier en/of een half uur even checken hoeveel er gekopieerd is:
pcvanmarc:~ # du -sh /home/marc/.local 18G /home/marc/.local
Dan weet je hoever hij is (18/141=13%) en hoe lang het dan ongeveer nog gaat duren.
[...]
Finally, you can get an instant progress report by sending
rsync a signal of either SIGINFO or SIGVTALRM. On BSD
systems, a SIGINFO is generated by typing a Ctrl+T (Linux
doesn't currently support a SIGINFO signal). When the
client-side process receives one of those signals, it sets
a flag to output a single progress report which is output
when the current file transfer finishes (so it may take a
little time if a big file is being handled when the signal
arrives). A filename is output (if needed) followed by
the --info=progress2 format of progress info. If you
don't know which of the 3 rsync processes is the client
process, it's OK to signal all of them (since the non-
client processes ignore the signal).
[...]
Einstein: Mijn vrouw begrijpt me niet
Behalve dit stukje:DaFeliX schreef op woensdag 27 september 2023 @ 08:35:
[...]
Je zou ook een SIGINFO signal kunnen gebruiken ipv du te gebruiken
[...]
en gezien 't over Fedora gaat...Linux doesn't currently support a SIGINFO signal
[ Voor 5% gewijzigd door Merethil op 27-09-2023 09:45 ]
Wat ik uiteindelijk gedaan heb, ik had de oude Nvme schijf nog en deze in andere pc gezet en daar die folder vandaan gekopieerd. Die was ook veel kleiner omdat ik dagelijks een backup maak naar die HD maar dat bouwt op zeg maar. En blijkt dat er ook mappen in zitten met volle prullebakken enzo. Weer wat geleerd.
Die kopie op een SSD gezet en met een USB aansluitingkabeltje voor SSD's aan mijn nieuwe PC gehangen en toen was het in geloof nog geen 10 minuten gekopieerd. Werkt nu weer als een zonnetje.
[ Voor 4% gewijzigd door MrMarcie op 27-09-2023 11:09 ]
For sale | "Goodbyes are only for those who love with their eyes. Because for those who love with heart and soul there is no such thing as separation" Rumi
For sale | "Goodbyes are only for those who love with their eyes. Because for those who love with heart and soul there is no such thing as separation" Rumi