The dot-files tag has no wiki summary.
14
votes
3answers
13k views
How do you move all files (including hidden) in a directory to another?
How do I move all files in a directory (including the hidden ones) to another directory?
For example, if I have a folder "Foo" with the files ".hidden" and "notHidden" inside, how do I move both ...
11
votes
4answers
720 views
Are there pitfalls to putting $HOME in git instead of symlinking dotfiles?
I have for many years had my entire $HOME directory checked into subversion. This has included all my dotfiles and application profiles, many scripts, tools and hacks, my preferred basic home ...
10
votes
2answers
710 views
Why do some applications use ~/.config/appname for their config data while others use ~/.appname?
I've noticed that some applications put their configuration files to ~/.config/appname while others use ~/.appname (the classic way, AFAIK) for this. What's the sense in this distinction and what ...
8
votes
5answers
469 views
What's so special about directories whose names begin with a dot?
I was wondering what the difference between these two were:
~/somedirectory/file.txt
and
~/.somedirectory/file.txt
It's really difficult to ask this on Google since I didn't know how to explain ...
5
votes
3answers
274 views
When you type “ls -a”, what is the significance of “.” and “..”?
Whenever you type ls -a into the command prompt, you usually get all of your folders, files, and then you see that the first two entries are . and ..
Just curious, but what is the significance of ...
5
votes
1answer
105 views
Alphabetizing names in `ls` alias with .files not intermingled
I am currently using the following ls alias: alias ls='ls -alhGkpsq --color=auto'. This results in following directory listing.
[03:35] bryson@brys ~ :$ ls
total 48K
4.0K drwx------ 4 bryson 4.0K ...
3
votes
6answers
179 views
How do I specify arguments to return all dot files, but not . and ..?
Normally dot files are not included for wildcard expansion:
% echo *
Applications Desktop Documents Downloads Library Movies Music Pictures Public bin
If I explicitly ask for dot files, I get them:
...
3
votes
3answers
162 views
is the behaviour of .* to include . and .. defined in LSB or POSIX or some other specification?
as title: is the behaviour of .* to include . and .. defined in LSB or POSIX or some other specification?
2
votes
8answers
135 views
grepping dotfiles with -R correctly?
From time to time I need to find a culprit in an unknown dotfile and instead of trying to figure out which package is to be blamed (e.g. xfce4 or thunar?) and what is their naming convention (.app vs ...
2
votes
1answer
91 views
Where should user configuration files go? [duplicate]
If I look at my home directory there are a large number of dot files. If I am creating a new program that needs a user configuration file, is there any guidance where to put it? I could imagine ...
1
vote
1answer
642 views
How can I delete a hidden folder?
I want to delete many configuration folder in my home user folder but I can't figure out how to delete them. How can I delete a hidden folder?
1
vote
1answer
194 views
restricting pushes to selected Mercurial repositories using `ssh` forced commands and `hg-ssh`
The context of this question is the hg-ssh script. It is helpful but not critical to know something about Mercurial. This script sets up a forced command using public keys so the given public key ...
