Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

11
  • but how to use the command. When tried it says sed: no input file Commented Jan 10, 2017 at 13:40
  • replace stack with the name of the file, which you're about to modify. Commented Jan 10, 2017 at 13:48
  • the issue is, when i give batch command for f in Nora*.zip; do sed command $f; done; given files names have spaces in between, sed throws away error as it tries to rename files as follows: sed -ie "s/Nora\ Hmann\ \-\ //g" Nora Commented Jan 10, 2017 at 14:01
  • ok, if your script indeed is: for f in ls -w1 Nora*.zip do sed -ie "s/Nora\ Hmann\ \-\ //g" $f done Commented Jan 10, 2017 at 14:02
  • 1
    Check my answer again. Commented Jan 10, 2017 at 14:15