Xfce Forum

Sub domains
 

You are not logged in.

#1 2015-03-08 12:29:00

birch
Member
Registered: 2014-07-12
Posts: 63

Duplicate Files and Naming

Is there a Thunar setting that allow files to be automatically renamed when dragged and dropped into folders that have identical filenames? Ideally I would like to drag and drop, move, or copy a file to folder with a duplicate filename and have the filename automatically appended with parenthetical numbers.

Also, when duplicating a file the duplicates will be renamed:

another copy of 020807413637.txt
third copy of 020807413637.txt
4th copy of 020807413637.txt

Which ends up alphabetizing them so that they show up far away from the original file in a folder with many files. Can this be changed so that the duplicate file is appended with parenthetical numbers, so that it appears right next to the original file?

Offline

#2 2015-03-12 23:48:17

sonycdr
Member
Registered: 2009-01-30
Posts: 130

Re: Duplicate Files and Naming

It also works when you copy/paste a file. It would be nice by drag and drop files.
You can fill a bug/feature request on  https://bugzilla.xfce.org/

Offline

#3 2015-03-13 11:48:13

sixsixfive
Member
From: behind you
Registered: 2012-04-08
Posts: 579
Website

Re: Duplicate Files and Naming

thats fixed here (thunar 1.6.6) - it will now renamed to <filename> (copy <n+1>).extension

Last edited by sixsixfive (2015-03-13 11:49:00)

Offline

#4 2015-03-14 22:11:12

birch
Member
Registered: 2014-07-12
Posts: 63

Re: Duplicate Files and Naming

Thanks!

Offline

#5 2015-03-15 18:08:32

sonycdr
Member
Registered: 2009-01-30
Posts: 130

Re: Duplicate Files and Naming

sixsixfive wrote:

thats fixed here (thunar 1.6.6) - it will now renamed to <filename> (copy <n+1>).extension

Have you tried before, can you show us?

Currently that doesn't works.
XN4PLbel.png

Offline

#6 2015-03-15 18:34:20

sixsixfive
Member
From: behind you
Registered: 2012-04-08
Posts: 579
Website

Re: Duplicate Files and Naming

oops, yeah copy/paste not dragging - sorry, damn i remember i have written a bug report/feature request long long(thunar 1.2/4?) time ago... ...but as usual you never get a response/reply in the bugzilla (except for xfwm bugs)

Last edited by sixsixfive (2015-03-15 18:34:38)

Offline

#7 2015-03-15 18:51:59

sonycdr
Member
Registered: 2009-01-30
Posts: 130

Re: Duplicate Files and Naming

Even, copy/paste doesn't works to folder from another, only into the same folder.

Offline

#8 2015-03-15 18:58:28

sixsixfive
Member
From: behind you
Registered: 2012-04-08
Posts: 579
Website

Re: Duplicate Files and Naming

sonycdr wrote:

only into the same folder.

yeah, but at least infolder copies are now renamed better (before it was copy of <filename>,  copy of copy <filename>, copy of copy of copy... - which placed the file bazillion miles away from the copied file...)

Last edited by sixsixfive (2015-03-15 18:59:02)

Offline

#9 2015-03-15 19:51:18

birch
Member
Registered: 2014-07-12
Posts: 63

Re: Duplicate Files and Naming

Even so, within folders is better than nothing. I'm looking into updating to Thunar 1.6.6, but it seems like I have to install lots of dependencies. Is there an easy way to update it? I'm currently using Thunar 1.6.3.

Offline

#10 2015-03-15 20:50:57

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: Duplicate Files and Naming

Use your distro's upgrade tool, maybe? It looks like Thunar 1.66 is already in the Xfce PPA, which works for Ubuntu-based distros such as Ubuntu, Xubuntu, Mint, et cetera. I don't see which distro you use, so you might not be able to take advantage of a PPA, but I would assume that there are comparable things for distros which use other package types than .deb.

BtW, there is no longer a need to open two separate Thunar windows; this application has had tabs for... IDK, over a year?

Regards,
MDM


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#11 2015-03-17 13:43:53

birch
Member
Registered: 2014-07-12
Posts: 63

Re: Duplicate Files and Naming

I use Linux Mint 17.1 Rebecca. I don't see an update for Thunar in the update manager or in the software manager. I see you mention the PPA here: https://forum.xfce.org/viewtopic.php?id=9187

Do I add the PPA like this:

sudo add-apt-repository ppa:xubuntu-dev/xfce-4.12
sudo apt-get update

Offline

#12 2015-03-18 08:39:48

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: Duplicate Files and Naming

Yes, that adds the repository to your sources list and updates the list of packages.

Regards,
MDM


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.014 seconds, 7 queries executed - Memory usage: 572.6 KiB (Peak: 589.45 KiB) ]