I am looking for a way in kde Plasma to use dolphin or some other package to:
locate files 30MB or larger across an entire set of folders.
Be able to selectively delete these found files . I won’t want to delete all of them just ones I choose. to.
Not put them in a trash folder. Completely delete them.
Thanks
Trying this command I get the following error.
I tried to figure it out but I don’t help on the $ option. Still learning.
Thanks for helping.
[demo@manjaro music]$ du -sh $(find * -size +30M)
du: invalid option -- '/'
du: invalid option -- 'U'
du: invalid option -- 'n'
du: invalid option -- 'n'
du: invalid option -- 'o'
du: invalid option -- 'w'
du: invalid option -- 'n'
Try 'du --help' for more information.
So I combined some of your examples with what I think I wanted and got this:
[demo@manjaro music]$ find * -size +30M -print0 -type f -name *.MP3 -exec rm -i {} +
Beatles - Andre Gardner/Beatles Gardner 2020-04-05.mp3Beatles - Bob Malik/The Beatle Years 2016-02-28 Harrison.mp3Beatles - Chris Carter/Beatles Carter 2021-03-07 Singles.mp3Beatles - Chris Carter/Beatles Carter 2020-04-05.mp3Beatles - Joe Johnson/Beatle Brunch 2016-02-28 Color.mp3Beatles - Joe Johnson/Beatle Brunch 2020-04-04 April Fool.mp3Beatles - Les Perry/Beatles Perry 2020-04-04 April 64.mp3Beatles Michaels/Beatles Michaels 2016-03-02 Rarities.mp3Beatles Michaels/Beatles Michaels 2016-12-21 Christmas.mp3Beatles - Rob Leonard/Beatlesongs 2020-04-03.mp3Beatles - Terri Hemmert/Beatles Hemmert 2020-04-05.mp3Jeff Wayne, Richard Burton and Justin Hayward/Jeff Wayne's Musical Version of The War of the Worlds/Forever Autumn.MP3rm: remove regular file "Jeff Wayne, Richard Burton and Justin Hayward/Jeff Wayne's Musical Version of The War of the Worlds/Forever Autumn.MP3"? n
That is almost what I want.
I would like it to stop and ask at each file name it finds and show me the actual size of the file it found.