| View previous topic :: View next topic |
| Author |
Message |
Smudge Site Admin

Joined: 17 Aug 2004 Posts: 9794
|
Posted: Sat Oct 23, 2004 7:43 am Post subject: How to move data\temp directory |
|
|
Many people have requested to have the ability to define where the NL temporary download data directory is stored. This will be an option in a future version but until then, here are the instructions on how to use Junction to create a hard link between directories. Hard links are kind of like shortcuts but the system can't tell the difference between the real files and the linked files.
The requirements to do this are
1) Running Windows 2000 or XP
2) Hard drives need to be formatted in NTFS and not FAT32
3) A junction creation utility.
Junction Link Magic by Rekenwonder (recommended)
Junction by SysInternals
NTFS Link by Elsdoerfer
The steps to relocate the temp dir with SysInternal's Junction are
1) Quit NewsLeecher
2) Install junction.exe into a directory in your PATH (C:\WINNT or C:\WINDOWS are good locations)
3) Open the DOS command shell (Start menu, Run, type command)
4) at the DOS prompt, run the junction command to create the hard link between directories. The syntax of Junction is
junction.exe "current location of dir" "where you want the dir"
In my case, I have NewsLeecher installed on my C drive in the Program Files directory. I have my NL downloads stored on the H drive so I would like to move the NL temp dir to the H drive as the directory NLtemp. The command I used is
junction.exe "C:\Program Files\NewsLeecher\data\temp" "H:\NLtemp"
The NewsLeecher\data\temp dir will look like the files are there but they are really located on the other drive. The byte count of the source drive will not increase, just the destination drive.
I've been running my NL for a couple of days like this without any problems. I hope this helps others, at least until Spiril adds this option to NL.
P.S. You can use junction to move any dirs from one drive to another. You could use it to move some of your applications out of C:\Program Files to another drive in case your C drive is full.
EDIT: Added Junction Link Magic and NTFSLink to the list of junction utilities.
Last edited by Smudge on Fri Jul 27, 2007 8:03 am; edited 4 times in total |
|
| Back to top |
|
 |
Lips Forum Moderator
Joined: 18 Mar 2004 Posts: 3803
|
Posted: Sat Oct 23, 2004 5:10 pm Post subject: |
|
|
Hey Smudge - thanks for the info.
--
Lips |
|
| Back to top |
|
 |
MrCrowley

Joined: 17 Apr 2004 Posts: 285 Location: United Kingdom
|
Posted: Fri Nov 05, 2004 9:47 pm Post subject: |
|
|
Thanx Smudge.
I always knew about hard links but never really understood how they worked, thanx for the info. |
|
| Back to top |
|
 |
RAW777
Joined: 31 Aug 2004 Posts: 1
|
Posted: Mon Nov 08, 2004 4:47 am Post subject: |
|
|
Very nice tip, thank you very much...
I've wasted a lot of data on this problem, because my C partition is to small for a lot of incompletes thanx! |
|
| Back to top |
|
 |
GekkeKoe

Joined: 19 Mar 2005 Posts: 201 Location: Reg'd NL User
|
Posted: Sun Mar 20, 2005 3:14 pm Post subject: |
|
|
Nice trick.
To add to this: might also be useful to do the same for the
| Quote:
|
|
NewsLeecher\data\cacheV3
|
directory, for those of us who like to header groups... headering large groups (e.g. ab.boneless) using a NSP with good retention like GN/NH/UNS/etc can take up quite a bit of HDD space as well.
I did the quick n dirty solution myself and simply installed NL on my download drive (not too great, but it works). _________________ NARF! |
|
| Back to top |
|
 |
Rambitology Guest
|
Posted: Tue Oct 04, 2005 8:37 pm Post subject: |
|
|
| Here's another thought: if your Groups dir is already on an NTFS-formatted drive, just compress that folder. I went down from 154 megs to 67 megs just by doing that! |
|
| Back to top |
|
 |
techfuzz Forum Moderator

Joined: 17 Jul 2004 Posts: 5344
|
Posted: Wed Oct 05, 2005 2:13 am Post subject: |
|
|
| Rambitology wrote:
|
|
Here's another thought: if your Groups dir is already on an NTFS-formatted drive, just compress that folder. I went down from 154 megs to 67 megs just by doing that!
|
What did you processor usage go up by after that? 2X?
techfuzz _________________ "The greatest risk in life is not taking one."
www.techfuzz.com |
|
| Back to top |
|
 |
Rambitology Guest
|
Posted: Wed Oct 05, 2005 8:18 am Post subject: |
|
|
| No, I happily discovered that it doesn't have a noticeable impact. Still, I might switch it back -- the files are modified so often that it just leaves more ways for things to go wrong. |
|
| Back to top |
|
 |
techfuzz Forum Moderator

Joined: 17 Jul 2004 Posts: 5344
|
Posted: Wed Oct 05, 2005 3:03 pm Post subject: |
|
|
| Rambitology wrote:
|
|
No, I happily discovered that it doesn't have a noticeable impact. Still, I might switch it back -- the files are modified so often that it just leaves more ways for things to go wrong.
|
Interesting... I would have thought it would be much more noticable because of the excessive amount of writes. Does it take longer to close down NL? That is when the majority of changes to files are committed to disk I believe.
techfuzz _________________ "The greatest risk in life is not taking one."
www.techfuzz.com |
|
| Back to top |
|
 |
Rambitology Guest
|
Posted: Thu Oct 06, 2005 4:39 am Post subject: |
|
|
Yep, shutdown time is a bit longer. (There ain't no free lunch.)  |
|
| Back to top |
|
 |
techfuzz Forum Moderator

Joined: 17 Jul 2004 Posts: 5344
|
Posted: Thu Oct 06, 2005 2:30 pm Post subject: |
|
|
| Rambitology wrote:
|
Yep, shutdown time is a bit longer. (There ain't no free lunch.)
|
I thought so.. Nice to know though that it conserves a considerable amount of disk space.
techfuzz _________________ "The greatest risk in life is not taking one."
www.techfuzz.com |
|
| Back to top |
|
 |
Delta
Joined: 15 Apr 2005 Posts: 7
|
Posted: Thu Oct 13, 2005 12:01 am Post subject: Re: How to move data\temp directory |
|
|
| Smudge wrote:
|
...
3) Junction by SysInternals
...
|
Just a tidbit I'd like to add for all those who
a) do not like the command line junction
b) are afraid they may forget what junctions are set on a give system
There is a alternative Freeware called Junction Link Magic that has a Windows GUI and on startup scans for existing Junctions.
For convenience here is the Link to the Author's Homepage... click me
Greeting Delta |
|
| Back to top |
|
 |
Rambitology Guest
|
Posted: Thu Oct 13, 2005 4:10 pm Post subject: |
|
|
| There's another one with similar features, but some variations as well. This one does hardlinks and junctions with its shell extension, and displays an icon overlay for files that're linked. It doesn't have any comprehensive management (after the fact) of a drive's links/junctions, though -- no listing of created points. |
|
| Back to top |
|
 |
arneo

Joined: 11 Jan 2004 Posts: 73
|
|
| Back to top |
|
 |
Smudge Site Admin

Joined: 17 Aug 2004 Posts: 9794
|
Posted: Sat Oct 29, 2005 1:37 am Post subject: |
|
|
| I really like Junction Link Magic. It even located all the links I had previously created with SysInternal's Junction. |
|
| Back to top |
|
 |
|