jed_fox1’s avatarjed_fox1’s Twitter Archive — № 1,096

  1. …in reply to @mattcassinelli
    @mattcassinelli shortcuts list -f YouTube | tr '\n' \0' | xargs -0 -I name touch -a name.app tr: replace the newline character with the NUL character xargs with -0: split the input on the NUL character and run the command with each input -I: replace “name” in the command w/ input
    1. …in reply to @jed_fox1
      @mattcassinelli Here, “name” can be any arbitrary string (although I think it needs to be one word).