Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
48 views

Is it possible to delete a hardlink to a locked file?

In short, I need to do what was asked here: One hardlink is locked. How do I remove the other? The given solution doesn't work for me as I'm trying to create/delete a hardlink to a file that is in ...
0
votes
1answer
27 views

Find modified files from rsync backup script

I'm using rsync on my Ububtu Linux server to take a time machine like backup of the system. Every hour, a cronjob runs the following script (partial excerpt): rsync -a --link-dest=/backup/current ...
2
votes
0answers
85 views

hardlinking takes a lot of space

I made an rsync incremental backup script for my server that will copy a MySQL database backup and a specified folder path to a remote server. Here's the code on Github. Code excerpt from lines ...
1
vote
1answer
49 views

How to transfer a Time Machine to an NTFS partition (or how to copy HFS+ hard links)

Do you know a way to copy HFS+ hard links to a folder on a HFS+ or NTFS drive? Before you say it can't be done, I don't want actual backing up functionality of Time Machine, just the ability to ...
2
votes
2answers
84 views

How to find hard links on windows

I've created some hard links on my Windows 7 file system using mklink. It was some time ago and I can't remember for sure where, or which files. When I use Explorer, all files look the same. When I ...
0
votes
1answer
27 views

rsync: how to recreate hard-links after removed and recreated a file?

This is what I have: --dir1 ----file1 ----file2 Then I created another directory dir2 with hard-links. --dir2 ----file1 (hard link to dir1/file1) ----file2 (hard link to dir1/file2) Now I ...
2
votes
2answers
53 views

Netbeans destroys hardlinks on save

I am using Netbeans 7.0.1 on a Linux system. I have a file module/test.php and another one application/module/test.php Both test.php files are hardlinks of each other. When I change ...
0
votes
2answers
32 views

How can I create hard links in OSX?

What I want is to have multiple copies of the same file, and whenever I edit one of them, they all get updated. I thought Hard Links would solve my problem. So, I used the command ln as described in ...
15
votes
3answers
321 views

What are the various link types in Windows? How do I create them?

Is it possible to link two files or folders without having a different extension under Windows? I'm looking for functionality equivalent to the soft and hard links in Unix. Background: I have a ...
0
votes
2answers
110 views

How to copy files and create hardlinks instead of copying when files are identical

Are there any tools for Windows that can copy one dir to another read copied content generate MD5 if the current file is identical to a previously copied one, create a hardlink in destination dir ...
1
vote
1answer
85 views

How to create a directory hard link?

I was trying to create a directory hard link (not a symbolic one). I've tried this: mklink /d /h newfolder currentfolder but it's telling me Access is denied. I don't understand how is access denied ...
2
votes
1answer
110 views

What happens when I backup a symbolic link to a briefcase?

The story: I recently started trying DropBox. After some fiddling, I found I could use an app, DropBoxFolderSync, to sync a folder with DropBox, leaving something called a "Symbolic Link" (which seems ...
3
votes
2answers
120 views

What is “ln -L” (--logical) for?

I can read in the ln man page: -L, --logical make hard links to symbolic link references I read somewhere that ln -L could be used to re-link files that were deleted but which are ...
2
votes
1answer
100 views

Can someone make sense out of “Hard Links and Junctions” article from MSDN?

At Hard Links and Junctions MSDN article one can read the following: A hard link is the file system representation of a file by which more than one path references a single file in the same ...
1
vote
2answers
96 views

Should I use Windows' hardlinks for backups?

I'm not exactly backing up but its a similar idea. I have a few archives on my computer. They have exact copies of certain files (mostly 300k to 1.5MB). It's enough to take up a gigabyte. I am using ...
1
vote
1answer
105 views

How do I get Windows 7 to recognize a Junctioned User folder?

I'd like to junction or hard-link my C:\Users[me]\ folder to a folder on my D: drive for space reasons. This has worked for me in the past, but after a recent reformat/reinstall of Win7 x64, Windows ...
3
votes
1answer
121 views

Why does du -sl show different sizes for the source and result of a cp -rl?

I have used cp -rl to copy a folder. When measuring the size of the source and of the result of the copy du -sl returns slightly different sizes, even though diff confirms that their content are ...
2
votes
2answers
353 views

Windows 7 mklink - hard link's attributes (expected !) + contents do not affect the linked file

Now - this is driving me crazy. I created a hard link pointing to a file in my dropbox dir - the link was created inside a folder where this file needs to be in order to be accessed by the programs I ...
0
votes
0answers
26 views

Command cp raises an error when using -l flag

I'm using cp -al to make some incremental backups in my computer. The -l flag tries to make a hard link instead of a real copy if the files are identical. However, the following error raises from ...
2
votes
2answers
391 views

Executing symbolic link to exe - “The specified path does not exist”

When trying to execute a symbolic link which points to an exe file (on Windows 7), the "Open with" windows appears. When renaming it to a ".exe" file, it says "The specified path does not exist. Check ...
1
vote
1answer
33 views

Virtual join-directory on Windows

Problem: Say I have a video spanned over 2 files (vid001.avi & vid002.avi) and each file is on a seperate CD/DVD. If the 2 files are in the same directory my player will automatically play the ...
1
vote
2answers
173 views

How to properly store dotfiles in a centralized git repository

I'd like to put all my dotfiles (like .profile, .gitconfig, etc.) in a central git repository, so I can more easily keep track of the changes. I did this, but I would like to know how to properly ...
5
votes
3answers
272 views

How do you create a working Hard Link in OSX?

Ok, this has me banging my head. In OS X, to create a hard link, in a terminal window, you're supposed to be able to just type this... ln a.txt b.txt ...and this should create a hard link from ...
0
votes
2answers
83 views

How to get all hardlinks to the same data?

Have several hardlinks to the same file. How (for example) by one file(hardlink) get others pointing to the same data? No real task. Just interesting. May be useful.
8
votes
4answers
230 views

What is a hard link in Linux?

I have searched around and am trying to understand the difference between a hard link and symbolic link (soft link). I found this link is quite useful. But I am still not very clear. I understand ...
3
votes
4answers
280 views

Using NTFS hard links to combine full/differential backups

Short: Is it possible to (robo)copy a directory tree using hard links instead of physical copy? I want to make a daily backup of my data files, every day in it's own directory. Now most files don't ...
0
votes
2answers
308 views

What's the difference between a Windows hard link and a Linux hard link?

The open source package BackupPC does not run on Windows due to its lack of support for hard links. I did a search and came across this document referring to hard links in Windows. Are these somehow ...
0
votes
1answer
183 views

How to stop Windows 7 Built-in-Backup creating a System Image of too many drives?

I do not want to include (D:) drive in the image. I believe I know the cause of this, it's because I have some Directory Junctions and/or Symbolic Links. Any suggestions other than removing the ...
2
votes
1answer
96 views

Using junctions to get all my user files on the backup drive

I generally prefer to back up just my data files, and not my program files, since I can always reinstall the programs. This is easier if I put programs on one hard drive and data on another. But ...
0
votes
2answers
796 views

How do I delete hardlinks, symbolic links, junction points, etc please?

I could be wrong, but I'm yet to hear a valid argument for the exploitability that these things deliver...outweighing their very dubious / debatable functionality. They seem to me to be marginally ...
3
votes
3answers
857 views

Using mklink /h results in “Access is denied.”

From command prompt with Administrator privilages: c:\>mklink /h c:\dirA c:\Users\Piotr\dirB Access is denied. I'm on Vista x64. Using /j or /d instead of /h works. What's the problem? Related: ...
0
votes
2answers
258 views

How much space do NTFS hardlinks/symlinks occupy?

Well, I guess it must be something proportional to the original filename plus the new filename for symlinks, and only the new filename for hardlinks, but how does this affect the disk space exactly? I ...
2
votes
2answers
519 views

Make a hard link without extra programs in Windows 7

My objective here is to synchronize my emule credit file (application.dat?) by Dropbox. But the credit file is not inside the Dropbox directory (by default). So I want to make a hard link to get this ...
0
votes
1answer
125 views

Hard links on AFP

I'm trying to run MacPorts via AFP. Most ports run fine but I'm trying to install mercurial, which requires the MacPorts Python 2.6 file. Building Python 2.6 chokes on the following line in the ...
2
votes
3answers
450 views

Windows7 hardlink over two different drives

I am trying to create a hardlink on my C drive that points to a file on my D drive. I open up a terminal with Administrator privileges and try the following: C:\Users\sandro>mklink /H _vimrc ...
0
votes
1answer
316 views

Equivalent for Windows 7 “mklink” on OS X?

Is there a feature on OS X that does the same as mklink under Windows 7? It can create symbolic links and hard links. I have just read about this tool to have Dropbox sync an application folder by ...
2
votes
2answers
186 views

What are hardlinks on windows 7?

What are hardlinks and how are they different from files? If i have a hardlink would all apps believe the link is a file? (I had programs not open files because they were shortcuts) If i modify a ...
1
vote
2answers
243 views

How can I move a bunch of hardlinked files from a Linux box onto my OS X Mac and preserve the hardlinks?

I have an rsnapshot backup that I need to move off of a corrupt Linux file system. I need to preserve the internal hardlinks. I've tried rsync -H and using a newer rsync and neither preserve the ...
5
votes
1answer
369 views

How can I check the actual size used in an NTFS directory with many hardlinks?

On a Win7 NTFS volume, I'm using cwrsync which supports --link-dest correctly to create "snapshot" type backups. So I have: z:\backups\2010-11-28\cygdrive\c\Users\... ...
1
vote
1answer
143 views

Accessing files obscured by filesystem mounted at non-empty directory

I wish to mount a volume/filesystem at a non-empty directory, yet still retain access to the directory's contents. Is this possible? I know that a filesystem can be mounted at a non-empty directory ...
1
vote
1answer
98 views

Can I save space in a Maildir by hard-linking identical message files?

Obviously, the answer to the question in the title is yes. But I really want to know if I can do it without breaking anything. I am using offlineimap to back up my Gmail account to a Maildir on my ...
3
votes
1answer
104 views

Editing softlinked files in UNIX

Let's say I have file A, and using 'ln -s A B', I have B. When I open, edit and save B, now B is not symlink anymore. It's just a new copy of A. Is this expected behavior? I use Mac OS X, and I ...
3
votes
1answer
509 views

Unable to preserve hard links. Why?

I'm trying to create a Makefile that would automate remastering Knoppix distribution. I'm trying to copy filesystem from the read-only compressed loop device to normal filesystem to be able to modify ...
1
vote
1answer
163 views

File disappears from Finder when hard link copy is deleted

Ok, I just got quite the scare... I have a folder with some important files. Using the Terminal I had created hard-links to those files in a different folder. Something like this: mkdir test ln ...
2
votes
1answer
68 views

TextEdit not caring about hard links? [closed]

Possible Duplicate: Hard link not works under Mac OS X in GUI mode I did a little experiment. First I ran the following in a Terminal: mkdir test cd test echo "A" > a echo "B" > b ln ...
3
votes
1answer
1k views

Is there a Windows 7 equivalent to the *NIX ability to create a hard link to /dev/null?

I saw another question here that the Windows equivalent to /dev/null is simply NUL. I also know that you can use the mklink command to make sym links (shortcuts) from the command line: MKLINK [[/D] ...
2
votes
3answers
276 views

hardlinks on ntfs with windows

How can I create hardlinks for a file on an NTFS partition using Windows? NTFS can obviously handle hardlinks, since creating them with NTFS-3g works – the links even work in Windows. Is this the ...
3
votes
1answer
528 views

Hard link not works under Mac OS X in GUI mode

I faced a little strange behavior, while using hard links. From Terminal, I create a text file 1.txt and a hard link "to this file" nano 1.txt mkdir dir ln 1.txt ./dir/ I check the resulting hard ...
3
votes
1answer
412 views

Detect if two files are hard linked in Windows XP

I know I can use the command fsutil hardlink <new_file> <existing file> To create a hard link from the command prompt. My question is: is there a command line tool that will allow me ...
4
votes
1answer
257 views

Unix: softlinks, hardlinks

I am somewhat confused what the differences between a softlink, and a hardlink are (on unix). It seems like a softlink is the same as a shortcut in windows or an alias on Mac OS X. (Can someone ...

1 2