! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Use g_rename() if possible to move files in ThunarVfsTransferJob
Status:
CLOSED: FIXED
Product:
Thunar-vfs
Component:
General

Comments

Description Benedikt Meurer editbugs 2005-11-15 14:55:54 CET
ThunarVfsTransferJob currently copies files first and afterwards deletes the
source file, which can be slow for large file transfers within the same filesystem.
Comment 1 Benedikt Meurer editbugs 2006-02-06 17:24:26 CET
Committed with revision 19768.

2006-02-06	Benedikt Meurer <benny@xfce.org>

	* thunar-vfs/thunar-vfs-transfer-job.c(thunar_vfs_transfer_job_execute):
	  Try to use g_rename() first when moving files, and only fallback to
	  copy&delete if either the target exists (which requires user inter-
	  action to resolve the issue) or the rename didn't work, i.e. source
	  and target are not on the same filesystem. Bug #1229.

Bug #1229

Reported by:
Benedikt Meurer
Reported on: 2005-11-15
Last modified on: 2010-11-07

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information