[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

>he uses a file manager LOL dont you know that shell builtins

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 43
Thread images: 8

File: maki is cute 2.jpg (225KB, 700x700px) Image search: [Google]
maki is cute 2.jpg
225KB, 700x700px
>he uses a file manager
LOL dont you know that shell builtins can handle everything a graphical file manager can do? do you really need to click buttons?
>>
I like thumbnails
>>
>>57023258
open a file in the directory w/ feh for a graphical preview #lifehack
>>
File: maki is cute 14.jpg (311KB, 800x967px)
maki is cute 14.jpg
311KB, 800x967px
maki is the cutest maki!
>>
>>57023265
"""lifehack"""
>>
>>57023219
>Having to type 10 times as much to do a simple copy and paste action

What are you from 1980's ?
>>
>>57023920
>what is tab completion
>what is 120+ WPM
Dumb tripfag
>>
>>57023219
Except I don't use graphical file managers :^)
>>
>>57023219
>in OS Laboratory class
>class about bash scripting
>all the kids here are using windows10 botnet
>tfw
>>
>>57023219
*she
>>
>>57023219
Why is Maki so rude to her senpais?
>>
>>57023219
Fuck off
>>
>>57023219
>do you really need to click buttons?
yes. i love it.
>>
>>57024387
thanks for eye cancer
>>
>>57023265
>taking extra steps to do the same thing
>>
How do i list sort folders by size in terminal?
du -hs lists them but they are not by ordered by size
>>
>>57026246
check out ncdu
>>
Porn.
/thread
>>
>>57026246
You can also do du -hs|sort -h if you don't want to install additional suff
>>
>>57023219
Just try to fucking move a batch of files in the shell, it takes 2 seconds in a GUI and fucking forever in a shell unless you're moving the entire folder.
>>
>>57029908
mv *.mkv ~/Videos/Anime
>>
>>57030101
Are you fucking illiterate?
The point isn't to move all files following a similar name or pattern. The point is that, with a file manager, you can select specific files that are completely unrelated to each other and manage them easily, faster than the terminal.
>>
>>57030246
mv $(ls -tr | tail -n 3) ~/Videos/Anime
>>
>>57030246
 ls -A | cat -n | sed -n -e /###/p -e /###/p | awk '{print "mv "$2" /path/to/anime/"$2}' | sh 

replace the "###" in the sed command with whichever numbers from "ls -A | cat -n" that you want.
>>
>>57030563
You'll only move the three last files you downloaded, it's not really relevent.

>>57030642
Okay I'm sold, but desu you need to alias that if you want to be efficient.
>>
>>57030642
What about if you need to move large groups of files, that aren't continuous?
It's still faster to shift+click then ctrl+click the isolated ones than using alias bash scripts
>>
File: CuexW42VIAQgJRb.jpg (193KB, 1000x707px)
CuexW42VIAQgJRb.jpg
193KB, 1000x707px
when will gahnoo loonix get thumbnails?
>>
>>57023219
maximum autism
>>
>>57033020
Definitely alias it, and clean it up a little. I didn't put a lot of effort into making it efficient.

>>57033060
replace ### with [#-#][#-#] or whatever. Its not hard.
>>
>>57033067
When Windows get webm thumbnails :)
>>
>>57033147
ls -A | cat -n  | sed -n - e [0-120][125][127][128-133][135][137] | blah blah blah

Including all the time required to find the exact files you want to move and then writing down their numbers
As opposed to
>click
>scroll scroll
>shift+click
>ctrl+clickx2
>ctrl+shift+click
>ctrl+clickx2

Moving shit around in the shell is great for a lot of reasons but it's garbage for specific batch moves
>>
>>57033166
but my webms already have thumbnails
>>
>>57033183
>Looking at a list in a terminal emulator is harder then looking at a list in a file manager
>>
File: webm.gif (271KB, 674x307px)
webm.gif
271KB, 674x307px
>>57033166
>>
>>57033232
the key difference is that the file manager is entirely visual, you just click the file when you see it
As opposed to the shell where you have to then type in the numbers you see
It's a small difference but a readily tedious one
>>
>>57023920
Having to click through 10 folders just to get to the directory instead of using oh my zsh and typing /fu/ck/yo/u/ and hitting tab to expand the directory
>>
>>57033444
you forgot your meme arrow lad
>
>>
>>57033453
Thanks Famicom
>>
File: clarkson10.png (600KB, 462x540px) Image search: [Google]
clarkson10.png
600KB, 462x540px
I use ranger
>>
>>57033444
>clicking through folders to get to a particular directory

Are you 80 years old? They have these things called shortcuts.
>>
>>57033444
>he uses oh my zsh
>being a macfag
expansion like that is a feature of normal zsh.
>>
>>57033303
>webm.gif
>>
>>57033501
Actually I don't use either, just bash
Thread posts: 43
Thread images: 8


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.