Return to Main NewsLeecher Website
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

 
How to move data\temp directory
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    NewsLeecher Forum Index -> Technical Support
View previous topic :: View next topic  
Author Message
Smudge
Site Admin


Joined: 17 Aug 2004
Posts: 9794

PostPosted: Sat Oct 23, 2004 7:43 am    Post subject: How to move data\temp directory Reply with quote

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
View user's profile Send private message
Lips
Forum Moderator


Joined: 18 Mar 2004
Posts: 3803

PostPosted: Sat Oct 23, 2004 5:10 pm    Post subject: Reply with quote

Hey Smudge - thanks for the info.

--
Lips
Back to top
View user's profile Send private message
MrCrowley



Joined: 17 Apr 2004
Posts: 285
Location: United Kingdom

PostPosted: Fri Nov 05, 2004 9:47 pm    Post subject: Reply with quote

Thanx Smudge.
I always knew about hard links but never really understood how they worked, thanx for the info.
Back to top
View user's profile Send private message
RAW777



Joined: 31 Aug 2004
Posts: 1

PostPosted: Mon Nov 08, 2004 4:47 am    Post subject: Reply with quote

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
View user's profile Send private message
GekkeKoe



Joined: 19 Mar 2005
Posts: 201
Location: Reg'd NL User

PostPosted: Sun Mar 20, 2005 3:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
Rambitology
Guest





PostPosted: Tue Oct 04, 2005 8:37 pm    Post subject: Reply with quote

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

PostPosted: Wed Oct 05, 2005 2:13 am    Post subject: Reply with quote

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
View user's profile Send private message
Rambitology
Guest





PostPosted: Wed Oct 05, 2005 8:18 am    Post subject: Reply with quote

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

PostPosted: Wed Oct 05, 2005 3:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Rambitology
Guest





PostPosted: Thu Oct 06, 2005 4:39 am    Post subject: Reply with quote

Yep, shutdown time is a bit longer. (There ain't no free lunch.) Cool
Back to top
techfuzz
Forum Moderator


Joined: 17 Jul 2004
Posts: 5344

PostPosted: Thu Oct 06, 2005 2:30 pm    Post subject: Reply with quote

Rambitology wrote:
Yep, shutdown time is a bit longer. (There ain't no free lunch.) Cool

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
View user's profile Send private message
Delta



Joined: 15 Apr 2005
Posts: 7

PostPosted: Thu Oct 13, 2005 12:01 am    Post subject: Re: How to move data\temp directory Reply with quote

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
View user's profile Send private message
Rambitology
Guest





PostPosted: Thu Oct 13, 2005 4:10 pm    Post subject: Reply with quote

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

PostPosted: Fri Oct 28, 2005 4:47 pm    Post subject: Re: How to move data\temp directory Reply with quote

I just wanted to ask about the temp / cache folders Wink ..

Thanks Smudge - Junction by SysInternals
Thanks Delta - Junction Link Magic by Rekenwonder
Thanks Rambitology - NTFS Link by Elsdoerfer

Ciao

hmm i remember there was a post about .. usefull utilities Wink .. ill look it up Jup Here it is >>>
_________________
-=- .nl-registerd 24-6-2004 5:30am -=-
Back to top
View user's profile Send private message
Smudge
Site Admin


Joined: 17 Aug 2004
Posts: 9794

PostPosted: Sat Oct 29, 2005 1:37 am    Post subject: Reply with quote

I really like Junction Link Magic. It even located all the links I had previously created with SysInternal's Junction.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NewsLeecher Forum Index -> Technical Support All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum