... at its very simplest, you could use cp with the --backup=numbered option
$ while : ; do cp -vt ./backup/ --backup=numbered -- file; sleep 5; done
`file' -> `./backup/file'
`file' ->...
Type: Posts; User: steeldriver; Keyword(s):
... at its very simplest, you could use cp with the --backup=numbered option
$ while : ; do cp -vt ./backup/ --backup=numbered -- file; sleep 5; done
`file' -> `./backup/file'
`file' ->...