Vote count:
0
If I have a structure like:
parent/
sub1/
sub2/
sub3/
backup/
file1.txt
file2.txt
.htaccess
and I want to mv everything into backup/, including all directories/hidden/files etc. If I do mv * backup/
of course I get an error because I can't move backup into itself.
How do I mv everything but ignore the destination directory in the process?
asked 13 secs ago
Move all files/directories/hidden files into directory but ignore destination directory?
Aucun commentaire:
Enregistrer un commentaire