Loading ...
Sorry, an error occurred while loading the content.

Re: External command with arguments

Expand Messages
  • Tim Chase
    ... I d have been more forward with suggesting the use of xargs if you hadn t mentioned that you were running on Windows. It doesn t come there by default, so
    Message 1 of 4 , Sep 21, 2013
    • 0 Attachment
      On 2013-09-21 18:39, Cesar Romani wrote:
      > On 21/09/2013 02:55 p.m., Tim Chase wrote:
      >> On 2013-09-21 14:37, Cesar Romani wrote:
      >>> I'm using vim 7.4.31 on Windows 7.
      >>
      >> :%s/.*/move "&" c:\\foo\\Música\\
      >>
      >> and then run the entire thing through the command processor:
      >>
      >> :%w !cmd.exe
      >
      > Thanks a lot Tim. I also noticed that the following works:
      >
      > :w !xargs -i move "{}" c:\\foo\\Música\\

      I'd have been more forward with suggesting the use of xargs if you
      hadn't mentioned that you were running on Windows. It doesn't
      come there by default, so I didn't bother mentioning it. :-)

      -tim


      --
      --
      You received this message from the "vim_use" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php

      ---
      You received this message because you are subscribed to the Google Groups "vim_use" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    Your message has been successfully submitted and would be delivered to recipients shortly.