904 reputation
627
bio website
location
age
visits member for 2 years, 8 months
seen 11 hours ago

Jan
23
asked How do I make Finder use my default view options for disk images?
Jan
23
comment What does /opt mean in a filepath?
Have you tried doing ls -ld /opt? That's what I'd do if I was curious about a directory I'd never heard of before. Also check out Wikipedia:Filesystem Hierarchy Standard.
Jan
23
comment What does /opt mean in a filepath?
/opt is just another common top-level directory. OS X systems have /opt; I believe MacPorts installs itself into /opt/local. Unlike e.g. regexes, filesystem paths don't have any way of specifying other data—just the filepath. A regex might be expressed as something like /[ab]c*/i (the i after the slash making it case-insensitive); paths have no way of expressing any such thing. All you know is that each component is the name of a directory contained in the previous one, except the last (which may be a file).
Jan
16
comment Need to hide a symbolic link without hiding the directory it links to
Might be worth mentioning that -H is a common flag for “dereference symlinks given on the command-line, but not those encountered in tree traversal” (the behavior in between -L (follow all symlinks) and -P (follow no symlinks)). That might be the source of some confusion.
Jan
9
comment How to hide the destination of a symbolic link
Wouldn't other users be able to see the target of the bind with mount?
Jan
9
answered Need to hide a symbolic link without hiding the directory it links to
Jan
9
comment How to hide the destination of a symbolic link
Well, you could put the symlink in a directory that only userone can access. Alternately, if the symlink needs to be in a public directory, you could chain them, e.g. testdir -> /home/userone/some-innocuous-filename -> /home/usertwo. Assuming only userone can read /home/userone, only userone will be able to see where the “middle” symlink points.
Dec
5
awarded  Popular Question
Nov
19
awarded  Popular Question
Nov
7
awarded  Popular Question
Oct
30
comment Linux: Trying to find files from a list recursively and copy them somewhere else
You need a semicolon after the find. The escaped semicolon lets find know that that's the end of the -exec part, then you need another semicolon before the done to mark the end of the find invocation for the shell: cat ~/my_filelist.txt | while read file ; do find . -name "$file" -exec cp {} $destination_dir \; ; done;
Oct
30
comment Linux: Trying to find files from a list recursively and copy them somewhere else
@TheSAS find . -name foo works perfectly fine for me on both Debian (GNU find 4.4.2) and on Mavericks (can't tell what version of find this is).
Oct
30
comment Linux: Trying to find files from a list recursively and copy them somewhere else
Are the filenames in my_filelist.txt absolute or relative to .? They have to be basenames, without paths; -name only looks at the basename of each file it encounters. If you want to use paths, use -path instead.
Oct
30
comment Linux: Trying to find files from a list recursively and copy them somewhere else
@TheSAS The first argument to find is always the directory for find to walk. Besides, arguments are (almost) never interpreted by the shell as program names. echo rm -rf / will print rm -rf /, not delete everything.
Oct
30
comment Is there a way to move the current window to another desktop without using a mouse in OS X?
@MerlynMorgan-Graham I always keep drag lock enabled. It makes holding things like that much easier.
Oct
30
comment Is there a way to move the current window to another desktop without using a mouse in OS X?
@AWrightIV This has worked since Leopard.
Oct
28
comment Truecrypt issues on Wheezy-based CrunchBang
Read the manual page. It should tell you what $str is supposed to be.
Oct
28
comment Truecrypt issues on Wheezy-based CrunchBang
That looks like the usage information for a single program. I would think you're getting it because of the trailing = in your command line. Also, the parameter to --auto-mount looks like it's mandatory.
Oct
28
comment Truecrypt issues on Wheezy-based CrunchBang
Your copypasta truncated and is hard to read anyway. Can you either use a pastebin, or post a screenshot?
Oct
28
revised Truecrypt issues on Wheezy-based CrunchBang
added a bit of formatting, minor grammar issues, s/#!/CrunchBang/g