Results 1 to 4 of 4

Thread: Sed Multiple Files insert apostrophe

Threaded View

  1. #1
    Join Date
    Jan 2014
    Beans
    2

    Question Sed Multiple Files insert apostrophe

    Hello all

    I have this current sh code
    Code:
    DELETE=`$MEGASYNC --username $USER --password $PASSWORD --dryrun  --reload --download --local $LOCALDIR --remote $REMOTEDIR | sed 's/F  '$SEDLOCALDIR'/'$SEDREMOTEDIR'/g'`
    an example of output of $DELETE is
    Code:
    /Root/W/my file 1.txt /Root/W/my file 2.txt /Root/W/my file 3.txt
    but i need
    Code:
    "/Root/W/my file 1.txt" "/Root/W/my file 2.txt" "/Root/W/my file 3.txt"
    what is the correct sed syntax for get the apostrophe?
    Thanks so much
    Last edited by RIK312; January 8th, 2014 at 01:20 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •