Also, for others in this sub (particularly so we have no need to give this piece of shit views), vim can easily do this natively (from :h rename-files):
:r !ls foo
<C-v>Imv<Space><Esc>
Make another column with whatever changes you want to each existing filename (can use :s, etc and combine this step with step 2)
:w !sh
This reads the directory into the buffer, prepends the mv command, and once you've done your renames, executes the contents of your buffer as shell commands.
I would have done this from inside vim with vim-dirvish (which I already used as a file explorer before discovering the power of :Shdo).
Use dirvish to navigate to the directory you're interested in, run :%Shdo mv {} {} which will generate a bash script of mv original_name.ext original_name.ext for each file. You edit the script in a similar way to as the video so the script becomes mv original_name.ext new_name.ext for each file name. Then Z! to run it.
It may be slightly fiddlier than the ranger version, but it's also more versatile.
That's "thumbnail" in most APIs exposed by large platforms like YouTube or Vimeo because the "thumbnail" is the primary means of engagement with the video in search results/suggestions and they somehow rightfully rationalized their model: why have "posters" and "thumbnails" when both are basically the same kind of resource?
The standard doesn't concern itself with SERPs or whatever so it says "poster".
Poster might be the more technically correct term, but thumbnail is more widely understood. Especially in the YouTube context where those images are literally called thumbnail.
Same thing with "SERPs". I had no idea what you mean until I searched for it and got an explanation on a site titled "Search Marketing Jargon explained". Because that is what both "SERP" and "poster" are: Jargon.
It might surprise you, but not everyone works or comes in contact with these specific industry jargons.
And technically correct is the best kind of correct.
Thumbnail is jargon, too. It is something very specific: a small image the size of a thumbnail that acts as a preview for the real deal. The term has been overloaded to the point that non-specialists only know and use it but it's still globally incorrect.
It was already called "poster" back when we embedded Quicktime movies and it's still called "poster" in the current HTML5 standard.
I switched to nnn from ranger. nnn has a shortcut for vidir which basically replicates this. But nnn is more reliable in my experience and faster, and nicer to resources.
Pepe the frog is a cartoon figure that started out harmless, but eventually got so taken over by the alt-right psycho's that even the original artist who created it has disowned it.
Now it's a symbol that neo-nazi's use to display their association in a way that's subtle enough to get away with, because a lot of people (such as yourself) don't realize the significance of it (If they displayed a swastika or a ku-klux-klan robe then that would just be too obvious, right ?--everybody knows that those symbols mean.)
So now OP is probably being paid by some Russian/Republican trollbot farm to "normalize" this imagery --i.e. place it in a context that seems innocuous and non-political so that people start to think that it's just a harmless frog. The more the image becomes socially acceptable, the more neo-nazi's and ku-klux-klan members can broadcast their messagery in the open while maintaining deniability.
Basically, they're trying to do what they did with they Confederate flag. Again.
tl;dr Pepe the frog is the confederate flag of the internet age.
Well shit. No, didn't recognise it but I'm very happy to be educated.
Something similar happened with an insulation company in Christchurch yesterday, following the cowardly and horrific mosque attack there. This company has neo-nazi symbols plastered all over it but most people don't recognise them, the sun symbol and something about the numbers 14:88
Thank you very much for drawing attention to this, zero tolerance for this hateful bullshit.
oh yeah... that Gothic font on the van is called "Fraktur", and was used extensively for Nazi propaganda during the third reich --so, naturally, it's become popular among the neo-nazis today. Very few people in Germany today use that font, unless there's some historical reason, and it's strongly stigmatised.
something about the numbers 14:88
"88" means "Heil Hitler" --seriously, I wish I was joking, but I'm not. "H" is the 8th letter of the alphabet, so they frequently substitute "HH", for "88". I'm not aware of any association with the number 14 --that's probably just an actualy cost-basis. And then there's the sun wheel that the article mentions. I actually didn't know about that one. Pepe is just another one of these things.
And yeah... Any one of these things on their own might be a coincidence, but all at the same time? nah, these insulation guys are nazis, and this kind of shit is how they broadcast their presence (and recruit) to other people who will recognize the meaning, while avoiding detection by others.
Sadly, 5 months later, the post was at an 8. But, for what it's worth, this chain of comments are all upvoted now. I did my part. Cheers to all the good ones:)
26
u/watsreddit Mar 17 '19 edited May 06 '19
Fuck off with that neonazi bullshit.
Also, for others in this sub (particularly so we have no need to give this piece of shit views), vim can easily do this natively (from
:h rename-files)::r !ls foo<C-v>Imv<Space><Esc>:s, etc and combine this step with step 2):w !shThis reads the directory into the buffer, prepends the
mvcommand, and once you've done your renames, executes the contents of your buffer as shell commands.7
u/[deleted] May 07 '19 edited May 07 '19
lmao at all the weak-wristed types triggered by the video
2
u/myrisingstocks Mar 14 '19
https://metacpan.org/pod/rename
4
u/be_the_spoon Mar 15 '19
I would have done this from inside vim with vim-dirvish (which I already used as a file explorer before discovering the power of
:Shdo).Use dirvish to navigate to the directory you're interested in, run
:%Shdo mv {} {}which will generate a bash script ofmv original_name.ext original_name.extfor each file. You edit the script in a similar way to as the video so the script becomesmv original_name.ext new_name.extfor each file name. ThenZ!to run it.It may be slightly fiddlier than the ranger version, but it's also more versatile.
17
u/-romainl- The Patient Vimmer Mar 14 '19
Awful poster; won't watch.
3
u/nilsboy Mar 14 '19
Looks like ranger uses vidir from moreutils to bulk rename files.
2
u/phaul21 Mar 15 '19
I switched to nnn from ranger. nnn has a shortcut for vidir which basically replicates this. But nnn is more reliable in my experience and faster, and nicer to resources.
-1
u/caotic Mar 15 '19
Wierd, I can't get the Ranger plugin to work .
I am asuming is this plugin https://github.com/francoiscabrol/ranger.vim
executing this mapping `map <leader>f :Ranger<CR>.`
just flashes the :Ranger on the status line. Any idea?
Had to install the ranger software. Thought It was just a vim plugin.
20
u/[deleted] Mar 15 '19 edited Mar 16 '19
[removed] ā view removed comment