View Issue Details

IDProjectCategoryView StatusLast Update
0002574Double CommanderFile operationspublic2021-09-05 14:54
Reporterkarolo Assigned ToAlexx2000  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
ProjectionnoneETAnone 
PlatformLinuxOSLinuxOS VersionLinux
Product Version0.9.9Product Build2020/10/06 
Target Version1.0.0Fixed in Version1.0.0 
Summary0002574: Uses temp file on local tree to compress to tar
DescriptionI want to compress a folder in mounted external drive, to another external drive. The problem is that is creates a file called "/tmp/VMS1178568021", however that wasn't requested AND I don't have enough free space on local filesystem. I want to totally avoid using temp files.

Just do:
tar -cf /mount/disk2/backup.tar /mount/disk1/home/myuser/
TagsNo tags attached.
Fixed in Revision9925
Operating systemLinux
WidgetsetQt5
Architecture64-bit

Activities

karolo

2020-12-01 17:45

reporter   ~0003612

After killing the process with "kill 7601" I had to do "rm /tmp/VMS1178568021" as well to free dozens of GB.

karolo

2020-12-01 17:47

reporter   ~0003613

Last edited: 2020-12-01 20:59

It also created a file "/mount/disk2/backup.tar" with 0 bytes size which wasn't deleted when killing it.

j2969719

2020-12-01 18:06

reporter   ~0003614

by design wcx plugins use temp dir for many operations. as workaround, you can export different dir in TMPDIR environment variable for doublecmd.
another solution: create tar preset for multiarc http://doublecmd.github.io/doc/en/multiarc.html#config


if doublecmd terminated abnormally, temporary files will not be removed for obvious reasons

karolo

2020-12-01 20:34

reporter   ~0003615

I agree that temporary files are best for debugging. I don't see in options any way to configure TMPDIR variable.

karolo

2020-12-01 20:35

reporter   ~0003616

Last edited: 2020-12-01 20:59

Tested with Krusader and works as expected.

j2969719

2020-12-01 21:44

reporter   ~0003617

its less about debugging and more about killing process while it performing write operation somewhere

if you not familiar with environment variables, as temporary solution you can go to options>plugins>wcx, press 'by extension' button and disable tar

save https://pastebin.com/qHYt4Nnd as ini file

after that go to options>archivers>other>import and add tar preset

Issue History

Date Modified Username Field Change
2020-12-01 17:43 karolo New Issue
2020-12-01 17:45 karolo Note Added: 0003612
2020-12-01 17:47 karolo Note Added: 0003613
2020-12-01 18:06 j2969719 Note Added: 0003614
2020-12-01 20:34 karolo Note Added: 0003615
2020-12-01 20:35 karolo Note Added: 0003616
2020-12-01 20:59 karolo Note Edited: 0003616
2020-12-01 20:59 karolo Note Edited: 0003613
2020-12-01 21:44 j2969719 Note Added: 0003617
2021-09-05 14:51 Alexx2000 Assigned To => Alexx2000
2021-09-05 14:51 Alexx2000 Status new => resolved
2021-09-05 14:51 Alexx2000 Resolution open => fixed
2021-09-05 14:51 Alexx2000 Fixed in Version => 1.0.0
2021-09-05 14:51 Alexx2000 Target Version => 1.0.0
2021-09-05 14:54 Alexx2000 Fixed in Revision => 9925