2 votes

How to copy from full path to full path under new name with overwrite?

Use the switch -T from the man page cp(1), -T, --no-target-directory [treat DEST as a normal file]
  • 664
1 vote

How to keep writing in a FIFO even if there's no readers

tail -F namedpipe might be of interest to you in this case … It should keep the pipe open and writable for your service constantly. You can as well, if you want, discard its output to minimize used ...
  • 20.1k

Only top scored, non community-wiki answers of a minimum length are eligible