How to move all files from current directory to upper directory?
Problem
How to move all files from current directory to upper directory in linux? I tried something like , but it doesn't work.
Error Output
mv *.*
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: How to move all files from current directory to upper directory?
The command you are looking for is or (see below for more info): Explanation: the command moves files and directories. The last argument to is the target (in this case the directory one step "up" in the tree, ). The arguments before that are the source files and directories. The asterisk ( ) is a wildcard which matches all files which do not start with a dot. Files that start with a dot (dotfiles) are "hidden". They are matched using the pattern (see edit below). See the manpage which I linked …
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix