Linux cp command with reflink

cp -pRv --reflink=auto /source/folder /destination/folder copy files and directories -p same as –preserve=mode,ownership,timestamps -R, -r, –recursive copy directories recursively -v verbose, show what is going on. –reflink[=WHEN] control clone/CoW copies. This just copied 169GB of files in 20 seconds. This only works on supported filesystems, so for example by “#Btrfs, #CIFS, #NFS 4.2, #OCFS2, #overlayfs, and #XFS”. See here. Explainshell tells you this.

11. Juli 2023 · utzer

OCR all PDFs in a folder by cron

I will not write a long explanation, just this short one. The cronjob looks like this: * * * * * sh -c 'flock -n /tmp/my.lockfile /home/user/scripts/ocr_pdf_scan.sh' This will start sh (a shell, just like bash) and run the command after -c. The command flock will create a lock-file, to prevent that this cron job is started while there is still the previous cron jobs running. The cron job runs every minute, so in crontab it has * * * * * (five stars in front of the command). ...

3. Juli 2023 · utzer

Podcast Empfehlung: Katastrophen - deswegen berühren sie uns so unterschiedlich

Mp3 Download Ihr Browser unterstützt kein HTML5-Audio. Audio herunterladen #Quarks Daily: #Katastrophen - deswegen berühren sie uns so unterschiedlich Webseite der Episode: https://www1.wdr.de/mediathek/audio/daily-quarks/audio-katastrophen—deswegen-beruehren-sie-uns-so-unterschiedlich-100.html

26. Juni 2023 · utzer

Podcast Empfehlung: Witch Hunter - Grimms Märchen in der Popkultur

Mp3 Download Ihr Browser unterstützt kein HTML5-Audio. Audio herunterladen WDR Feature-Depot: Witch Hunter - Grimms Märchen in der Popkultur Webseite der Episode: https://www1.wdr.de/mediathek/audio/wdr3/wdr3-kulturfeature/audio-witch-hunter—grimms-maerchen-in-der-popkultur-100.html

26. Juni 2023 · utzer

Fix error "Failed to start DHCP Client Daemon" after upgrade to "Bullseye" on RaspberryPI

Important This fix can be applied before the reboot after the upgrade from Buster to Bullseye, if you missed it you need a MicroSD card reader and some Linux computer (another RaspberryPI would do) to edit the file. In the file /etc/systemd/system/dhcpcd.service.d/wait.conf there is a wrong path for the dhcpd, it has to be changed. wrong (from buster): /usr/lib/dhcpcd5/dhcpcd correct and new on Bullseye: /usr/sbin/dhcpcd So you need to do this before the reboot, otherwise the RaspberryPi will not have a working WIFI or Ethernet connection after the reboot and will not allow you to login from remote by SSH. ...

4. Juni 2023 · utzer

Upgrade Raspberry Pi OS from Buster to Bullseye

So to upgrade Raspbian, as it was previously called, from Buster to Bullseye went smooth an easy, I tried this with some Pi2B (armhf 32Bit) and with a Pi4. These two are headless systems, so I don’t know if this works well for any systems with window managers. Better run these commands in screen, so when the SSH connection is interrupted you can reconnect and resume your work. Edit: For the update there is a culprit, it will cause a problem with dhcpd, so before the reboot 13. (was point 12. before I added the remark below) please check this post. ...

11. Mai 2023 · utzer

Podcast Empfehlung: Tödliche Ladung

Ihr Browser unterstützt kein HTML5-Audio. Audio herunterladen Mp3 Download Die Zeichen des Todes – Der True Crime Podcast mit Michael #Tsokos Dauer: 36:57 Weitere Infos zur Folge: https://zeichendestodes.podigee.io/35-new-episode Nicht mehr verfügbare externe Ressourcen Audio (historischer Link) — Audio nicht mehr verfügbar.

10. April 2023 · utzer

Podcast Empfehlung: Ausgesperrt - Das "andere Russland" im Exil

Ihr Browser unterstützt kein HTML5-Audio. Audio herunterladen Mp3 Download Meiner Meinung nach eine Dokumentation über wahre russische Helden, ja Widerstand in Russland wäre vielleicht besser, aber die Interviewten haben schon recht, was bringt es sich von der Polizei verprügeln zu lassen oder im Gefängnis zu sitzen. Ausgesperrt - Das “andere Russland” im Exil Dlf Doku - Hörspiel und Feature Dauer: 48:46 Mehr Infos zur Folge: www.hoerspielundfeature.de/ausgesperrt-100.html

28. Februar 2023 · utzer

Thailand – Urlaub (Teil 3)

Wie immer ein paar Fotos, klicken aufs Bild zeigt das Bild in groß, dann im Browser wieder zurück klicken. Besuch in Elephant World Kanchanaburi Besuch in Elephant World Kanchanaburi Elefanten am baden Fahrt mit der "Todeseisenbahn" in Kanchanaburi Eisenbahnwagons in Kanchanaburi Nasszelle im Zug Der Zug während der Fahrt in Kanchanaburi Blick auf den Kwai Brücke am Kwai und Todeseisenbahn Blick auf den Kwai Die Brücker über den Kwai in Kanchanaburi Die Brücker über den Kwai in Kanchanaburi Das erste Video am besten im Vollbild abspielen da es hochkant aufgenommen wurde. ...

15. Februar 2023 · utzer

Kambodscha – Urlaub (Teil 2)

Wie immer ein paar Bilder, jeweils mit Beschreibung, anklicken zeigt das Bild in groß. Essen in Kambodscha, Reismehlteig mit Spinatfüllungy wird dann mit süßer oder Chillisauce gegessen. Hier werden die typischen kleinen Fleischspieße gegrill Tonle Om Gate in Angkor Statue am Tonle Om Gate in Angkor Statuen am Tonle Om Gate in Angkor Bayon Tample in Angkor Steinrelief an der Wand des Tempels Steinrelief an der Wand des Tempels Blick in den Innenbereich des Tempels mit den Türmen und Buddhagesichtern auf den Türmen Ein Gang in einem der oberen Stockwerke des Tempels Ein Gang in einem der oberen Stockwerke des Tempels Blick vom Tempel nach unten auf eines der Eingangstore Tempeleingangstor mit Turm darauf Elefantenterasse in Angkor Ta Prohm Tample in Angkor Baum im Ta Prohm Tempel Im Tempel Baum im Ta Prohm Tempel Baum im Ta Prohm Tempel Bäume im Ta Prohm Tempel Statue am Tempel Angkor Wat Tempel Angkor Wat Tempel Angkor Wat Tempel Angkor Wat Tempel Angkor Wat Tempel Khmer Steinrelief in Angkor Wat Tempel Steinrelief in Angkor Wat Tempel Angkor Wat Tempel Angkor Wat Tempel Angkor Wat Tempel Angkor Wat Tempel

15. Februar 2023 · utzer