Copying files multiple times results in bogus names

From Sugar Labs
Jump to navigation Jump to search

Description

Bug Issue #2060

Copying files multiple times to a volume, results in Bogus names like foo_1, foo_1_2, foo_1_2_3 and so on.

This needs to be avoided, and instead copying multiple files with the same name should result in copies like foo(2), foo(3), foo(4) and so on.


Proposed Solution

Body of for loop implementing the "_" addition(in each time a new file is copied has been modified, and subsequently newer code added to implement foo(2), foo(3) and so on.


Contact

Shanjit Singh Jajmann

shanjit<at>seeta<dot>in