scour icon indicating copy to clipboard operation
scour copied to clipboard

Support in-place scrubbing

Open simon04 opened this issue 8 years ago • 1 comments

Similar to sed. From its man page:

       -i[SUFFIX], --in-place[=SUFFIX]
              edit files in place (makes backup if SUFFIX supplied)

simon04 avatar Jan 19 '17 13:01 simon04

Really handy option! :smiley: If implemented, it'll be possible to scour all SVGs in the current folder with a simple command like:

for file in *.svg; do scour "$file" --in-place; done

instead of the nasty workaround I've to use currently :disappointed: :

for file in *.svg; do scour -i "$file" -o "$file"opt; mv -- "$file"opt "$file"; done

HEXcube avatar Jan 30 '17 07:01 HEXcube