• 0 Posts
  • 21 Comments
Joined 1 year ago
cake
Cake day: June 21st, 2023

help-circle















  • I’m not sure what you’re asking for. That’s the command. Unless you meant an explanation?

    The basic command is convert filename.cr2 filename.jpg.

    That parallel command runs the convert command on all of the .cr2 files in the current directory, running a bunch of them simultaneously. {} is replaced with the name of a file, and {.} is replaced with the filename without the extension.

    https://www.gnu.org/software/parallel/parallel_examples.html

    If you didn’t want to use parallel and are okay with it slowly converting one file at a time, you can just use a for loop:

    for file in *.cr2 ; do
      convert $file ${file%.cr2}.jpg
    done
    

    That one uses some Bash variable magic to remove the .cr2 and add .jpg to the file name of the output file.

    convert is smart enough that you can just give it an output name ending in .jpg and it knows it should convert the input file to JPEG.




  • zurohki@aussie.zonetoAsklemmy@lemmy.mlIs there anything good in Hexbear?
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    1 year ago

    According to knowyourmeme the dude in the meme is a neanderthal character from a movie.

    “Unga bunga” was originally used in a cartoon in 1950 with a caricature of an Aboriginal Australian, and it’s completely reasonable for someone to not know that. I didn’t until you prompted me to go and research the meme.

    The phrase seems to be nonsense babble - there’s no way to deduce the Aboriginal Australian racism link from the movie image or caption, you have to actually research the backstory.