Jon Justvig wrote to Dennis Katsonis <=-
@MSGID: <62332D67.2256.fidolinux@bbs.mozysswamp.org>
@REPLY: <62330953.2251.fidolinux@bbs.mozysswamp.org>
Re: Re: reboot :)
By: Dennis Katsonis to Jon Justvig on Thu Mar 17 2022 09:10 pm
Jon Justvig wrote to Benny Pedersen <=-
Let's keep it going...
find / -type f -size 1G
This command will start in the root / directory and check files and
list them if the file(s) are 1 gigs or more.
===
Ahh, with ZSH you can do this with
ls **/*(.Lm+1)
or to run any command on those files
chown user.user **/*(.Lm+1)
Change user and group to "user" for any file in this directory tree over 1M
But here is another, works with bash and zsh.
Lets day you run a command, and you want to reuse the last parameter
for example you type
ls /home/user/documents/file/path/this_is_a_text_file.txt
now you want to delete it, so instead of typing the path again, or hitting up arrow and changing "ls" to "rm", you can just use "ALT-." to bring up the last parameter.
Type rm, then alt-., and the last parameter from the last command, in this example the long path and filename, will be inserted.
... MultiMail, the new multi-platform, multi-format offline reader!
--- MultiMail/Linux v0.52
* Origin: MS & RD BBS bbsweb.mozysswamp.org (3:633/384)