a file that represents another object in the file system

learn more… | top users | synonyms (1)

0
votes
2answers
254 views

How do I make a terminal alias that edits root owned files in a GUI text editor?

How can I quickly edit root owned files like /etc/hosts and /etc/apache2/httpd.conf in a text editor such as TextEdit which would let me do modern text editor operations, without actually running the ...
4
votes
2answers
8k views

Can I create a Desktop Shortcut/Alias to a Folder from the Terminal?

I'd like to create a desktop shortcut to a specific folder, buried deep within ~/Library/. Library is Hidden by default in Lion, and I'd like to keep it that way, for a variety of reasons. Is there a ...
1
vote
1answer
172 views

How come compiling my .tex file with my alias is lagging?

I have written an alias in ~/.bashrc to compile my tex files into pdfs. I am sure that ~/.bashrc is sourced. alias p='rm -f *.pdf *.log *.aux;pdflatex *.tex;open *.pdf' However, after I edit my ...
8
votes
2answers
291 views

How can I make a soft link in Lion?

I realized today that an alias is not the same thing as a soft link in Lion. I made an alias of a folder in my Dropbox folder and moved the alias to my Desktop. When I try to cd into this alias in ...
3
votes
2answers
364 views

Alias for network drive

In the Finder > Connect To Server window I have an IP address I connect to. Is there a way to make a nickname or alias for this server?
2
votes
3answers
967 views

How to create a shortcut on the desktop to a selected folder

In windows when right clicking a folder there is an option: send to -> desktop (create shortcut). How can I do this on a Mac?
2
votes
2answers
3k 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 ...
1
vote
1answer
612 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
446 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
841 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
641 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
637 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
333 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
12k 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'.