Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2681

Off-Topic • Re: [Software] cps - a useful addition to the cp command?

$
0
0
Thank you Hetzer for testing the program and noticing all these typos and this luckily very simple bug! When I released 1.1, I realised that it has some bug related to the files in the top directory, and yet it works fine with 1.0.4. I was under stress and made some quick modifications, but I obviously did not resolve it. Now I think it should be fine.
- It seems that default scans directories for different file sizes, comparing by modification time can be toggled by -T. I think it's better to have scan by modification time by default, and make scan by file size available by a option (for example, --scan-by-filesize). Why? File may be newer than the one on second dir, but may not be updated 'cause it's of the same size as the old one
Now it defaults to the search based on the size simply because the time mode was added later. To set the time mode as the default seems more logical now that I have released it to the public and from the point of view of a system administrator. I will definitely consider doing this.

Statistics: Posted by DK00 — 2024-01-21 08:57



Viewing all articles
Browse latest Browse all 2681

Trending Articles