this post was submitted on 15 Apr 2025
1 points (100.0% liked)

Linux

2228 readers
1 users here now

Everything about Linux

RULES

founded 3 years ago
MODERATORS
 

If I copy files with backup (cp --backup=numbered), the old file is renamed to something like oldfile.ext.~1~. I get my old files. Can this be limited to a certain number of old files, for example 30? I don't want to have keep more than that...

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here