this post was submitted on 31 Jan 2025
10 points (100.0% liked)
Linux Mint
1875 readers
16 users here now
Linux Mint is a free Linux-based operating system designed for use on desktop and laptop computers.
Want to see the latest news from the blog? Set the Firefox homepage to:
where is a current or past release. Here's an example using release 21.1 'Vera':
https://linuxmint.com/start/vera/
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Can find be used with tail?
Thank you for the tips, but now I'm getting "Cannot remove: No such file or directory" all the way down! The files are there, I see them, they come up in the terminal, but for some reason xargs rm does not want to delete them. When I put the -f flag, rm doesn't give an error but the files are still there! wtf
find can be used with tail, but if you're doing nul-delimited stuff (-print0, -0), then you'll want tail to run in nul-delimited mode too (-z apparently).
or you can say "fuck files with newlines in them, i aint supporting that shit", and then you just need the "" to still support filenames with spaces.
Hmm, thanks. It's gonna take a while to unpack this ':D
There are no newlines in the names, and all spaces have been replaced with a dash.