Hi

2 arguments (as cp & mv): source (file(s), folder(s)) & directory
0≤N

Copy-paste/move source to directory

By N folder:

If source has the same name with directory/content (file(s), folder(s)),
copy-paste/move to directory/0 to create if exists not
If source has the same name with directory/N/content, copy-paste/move to
directory/N+1 to create if exists not

By rename to source|N :

If source has the same name with directory/content, rename source to
source|0
If source has the same name with directory/content|N , rename source to
source|N+1


With the help of gemini.google.com , I successfully created the standalone
/usr/bin/cpn (By N folder), written in C++ :
https://drive.google.com/drive/folders/1SVs6loNGNA7cpIfIWbf_0e1iTywDrJae ,
install (as usual):
cd /a_path/cdn
makepkg -si

Why not these 2 features in cp & mv ?

Reply via email to