I tried something like mv . .. but it doesn't work.
|
feedback
|
|
The command you are looking for is
Explanation: the See the manpage which I linked for more information on Edit: as Chris Johnsen correctly points out: the pattern Edit 2: As Paggas points out, we'd also have to add the pattern Edit 3: Arjan's answer mentions
This executes | |||||||||||||||||
feedback
|
|
Short answer: use
Long answer: The command
will not work since
will also not work, since
which will match everything except Better yet, you can use
which avoids the ugly glob hacks in | |||||||||||||
feedback
|
|
Just for the sake of completeness, one can also tell the Bash shell to include hidden files, using
| ||||
feedback
|
|
Ultimately trying | |||
feedback
|
The | |||||||
feedback
|
|
You can use the following:
| |||||
feedback
|
|
The mv lacks the functionality of moving hidden files when using
No need to get into complex solutions of dotglobbing and using find commands. | ||||
|
feedback
|
|
This minimized command works on most modern shells:
Otherwise mentioned is a portable solution:
Features:
Naive Implementations:
| |||
|
feedback
|
[linux] [mv] [cwd] [files], or something similar? – Stephan202 Oct 28 '09 at 19:33