a file that represents another object in the file system

learn more… | top users | synonyms (1)

2
votes
2answers
2k views

How can I exit “bash”?

I don't know how to get my .profile aliases back in to the terminal every time I try them, this error massage comes up: apaw:~ apaw$ cdp -bash: cdp: command not found How do i exit this -bash? I ...
0
votes
1answer
2k views

How do I use arguments together with bash aliases

Today, I learned the very handy trick: man [some command] -t | open -f -a Preview I'd like to create an alias in my .bash_profile file as a shortcut. In order for this to work, I need to pass an ...
1
vote
1answer
571 views

Getting Automator to work with aliases vs. symbolic links on SMB shares

I would like to get automator to mount a volume in a shared SMB server and get all subfolders symlinked within my Documents folder. I thought I could do that easily by creating Finder's so called ...
1
vote
2answers
400 views

Can I create Windows-style alias in Finder?

In Windows, we can hold down Ctrl or use right mouse button while dragging the file in Explorer. When we release mouse button we see a menu where we can choose 'Create shortcut'. It's quite handy, I ...
1
vote
1answer
810 views

“readlink” gets the original path of a symlink; what's the equivalent for Mac aliases?

In the terminal, I can use readlink on a symlink and it prints the target path of the symlink. E.g. ln -s original.txt symlink.txt readlink symlink.txt # prints original.txt How do I do this for ...
2
votes
2answers
602 views

How to make aliases go away when main file is deleted?

Is there a way to (automatically) delete all aliases when the file they are an alias to is deleted?
3
votes
2answers
569 views

How to move a folder containing aliases to another machine without breaking the aliases?

I've got a large folder of music with lots of aliases to tunes that are spread throughout subfolders of the main tunes folder. For example I might keep the original files sorted by artist, and then ...
1
vote
3answers
320 views

How to force a diff format for TextMate?

I have this alias: alias hgd='hg diff|mate' The problem is that for some reason the temporary file thus created will be a .txt, while I'd need it to have the diff syntax highlight. If I manually ...
9
votes
2answers
10k views

How do I create a symbolic link to a directory with a space in it?

I was trying to create a symbolic link using the following command: ln -s "~/Foo Bar/" Foo ... but it didn't work (i.e. when I go into finder and try double clicking it, it says that it's pointing ...
4
votes
1answer
1k views

How to make an alias (Cmd-L) using command line?

With Finder, Cmd-L is a short-cut to make an alias of a file/directory. How can I use the command line to do that? I tried 'ln -s', but it generates the 'Symbolic Link', not 'Alias'.