Bash - Copy/move file with extension suffix


SUBMITTED BY: DanielK

DATE: Aug. 13, 2016, 5:38 p.m.

FORMAT: Bash

SIZE: 74 Bytes

HITS: 727

  1. cp /some/name.cpp{,-old}
  2. gives:
  3. cp /some/name.cpp /some/name.cpp.old

comments powered by Disqus