Difference between revisions of "Copying files multiple times results in bogus names"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
Copying files multiple times to a volume, results in Bogus names like foo_1, foo_1_2, foo_1_2_3 and so on. | Copying files multiple times to a volume, results in Bogus names like foo_1, foo_1_2, foo_1_2_3 and so on. | ||
+ | |||
+ | [[File:Screenshot-1.png|400px]] | ||
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. | 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 | + | == Proposed Fix == |
− | Body of for loop implementing the "_" addition | + | Body of for loop (in src/jarabe/journal/model.py) implementing the "_" addition each time a new file is copied has been modified, and subsequently newer code added to implement foo(2), foo(3) and so on. |
+ | |||
+ | == Result of Fix == | ||
+ | [[File:Screenshot-4.png|400px]] | ||
+ | |||
+ | |||
Latest revision as of 06:34, 10 November 2010
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 Fix
Body of for loop (in src/jarabe/journal/model.py) implementing the "_" addition each time a new file is copied has been modified, and subsequently newer code added to implement foo(2), foo(3) and so on.
Result of Fix
Contact
Shanjit Singh Jajmann
shanjit<at>seeta<dot>in