Hi Ho!
$ pwd
/home/eus/shared/
$ ls
./
../
inside/
$ ls inside
./
../
.a/
.b/
x/
y/
If I want to move the whole content of /home/eus/shared/inside/ into /home/eus/shared/ including the hidden files, what command should I issue?
I cannot do the following ones:
$ mv -i -- inside/. ./ (ERROR: cannot overwrite ./.)
$ mv -i -- inside/* ./ (ERROR: the hidden files are left out)
Well, I can do:
$ cd inside
$ find -maxdepth 1 -mindepth 1 -exec mv -i -- '{}' ../ ';'
But, is there a better way?
Thank you.
Best regards,
Eus