PDA

Bekijk de volledige versie : How to copy files from Ext2 drive to a FAT32 drive automatically?



hypernetics
01-05-2009, 18:16
Hi all

I am currently using Raas' setup on my Wl500gp (following the HeadStart II for oleg FW guide).

This set-up consist of 3 Ext2 partitions on a 40GB drive..

1) 512 mb (Swap) -ext2
2) 1024 mb -ext2
3) 36GB storage -ext2


I would like to use a second Hard drive formatted with FAT32 (approx 80GB) to be used in the second USB port.:p

Once Transmission has finshed downloading a file to a folder called 'Target' I would like the files to automattically be copied over to the FAT32 Drive.... Currently I am having to do this manually. :eek:

Does anybody have any tips or a guide?? Possibly an automated FTP?:confused:

Fingers crossed & Thanks in advance...
Hypernetics:D

wpte
02-05-2009, 00:31
uhm... well, maybe you can place the files on the fat32 disk directly instead of first downloading them and then move:p

dunno what version of transmission raas is using... probably the newest version (one with some fancy buttons and upload a torrent file screen etc.)
You can most likely change some things to copy it, or build a cron job to scan the active jobs (and when one is done) cp them to a different drive..
depends a bit on what version of transmission you are using:p

transmission is quite slow anyway, ntorrent goes way faster (up to 2.7mb/s easily):p

btw, it's EXT3 on oleg;)

al37919
02-05-2009, 06:07
uhm... well, maybe you can place the files on the fat32 disk directly instead of first downloading them and then move:p

copying to another disc/partition might be useful as it results also in defragmentation of the file. The task can be automated with cron, however, I've no idea how to recognize completed downloads in transmission as I'm user of rtorrent.

wpte
02-05-2009, 13:43
copying to another disc/partition might be useful as it results also in defragmentation of the file. The task can be automated with cron, however, I've no idea how to recognize completed downloads in transmission as I'm user of rtorrent.

Well I remember that transmission writes some job files, maybe they contain info how far the torrent is done:)
and if that is in plain text I guess you can extract it easily

Pedro83
05-09-2009, 14:37
If you are still interested, check my or bugmenot's script http://www.wl500g.info/showthread.php?t=20003