I've just tried to use the cp --backup option to copy some folders from a backup drive to another folder:these all share the same name (on the backup drive they are nested inside other progressively named folders),so I'm searching for a way to group them in a single folder without overwriting each file.
The cp --backup=numbered option works with files but not directories,and produces an output like thatwhich is kinda inconvenient for me as it makes the backup copies hidden:is there a way to control this string,tweaking it to something more usable likefolder_1,folder_2and so on,or at least skip the dot ?Code:folder.~1~
And,more importantly,is there a way to make it work on directories as it does on files ?
Bookmarks