Die4Ever@retrolemmy.com to Linux@programming.devEnglish · 6 days agoKDE Fixes 15 Year Old Bug Over Inaccurate Notifications When Copying Files To USB Driveswww.phoronix.comexternal-linkmessage-square25fedilinkarrow-up1114file-text
arrow-up1114external-linkKDE Fixes 15 Year Old Bug Over Inaccurate Notifications When Copying Files To USB Driveswww.phoronix.comDie4Ever@retrolemmy.com to Linux@programming.devEnglish · 6 days agomessage-square25fedilinkfile-text
minus-squareShayeta@feddit.orglinkfedilinkEnglisharrow-up2·5 days agoSame, waiting for sync -f to finish would help most of the time.
minus-squareulterno@programming.devlinkfedilinkEnglisharrow-up1·edit-23 days agoTIL, dd has the option conv=fsync that makes it wait until all writing is finished, before exiting. So you can just touch /path/to/new/filename and then dd ... of=/path/to/new/filename conv=fsync Of course, you would have to do this for each file, in case it is multiple
Same, waiting for sync -f to finish would help most of the time.
TIL,
ddhas the optionconv=fsyncthat makes it wait until all writing is finished, before exiting.So you can just
touch /path/to/new/filenameand thendd ... of=/path/to/new/filename conv=fsyncOf course, you would have to do this for each file, in case it is multiple