skaarl

joined 1 month ago
[–] skaarl@feddit.nl 1 points 3 weeks ago (18 children)

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

[–] skaarl@feddit.nl 1 points 3 weeks ago (2 children)

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

[–] skaarl@feddit.nl 3 points 3 weeks ago (27 children)

for f in *; do ls $f | tail -n 2 | xargs rm -rf; done

You mean like that? rm -rf followed by a question mark does not inspire confidence XD

[–] skaarl@feddit.nl 1 points 1 month ago

Isn't PLO the government of Palestina?

[–] skaarl@feddit.nl 3 points 1 month ago

These guys have only spoiled rich kid sore loser vibes. And cowards.

https://xcancel.com/QudsNen/status/1881685712837468572

[–] skaarl@feddit.nl 4 points 1 month ago

A flare up, perhaps

view more: ‹ prev next ›