Hi Ho!
IMHO, it's not better than the `find ...' because it will leave out the hidden files in the following case:
$ ls inside ./ ../ .a/ .b/ ..c/ ..d/ ...e/ x/ y/
But, your method instills an idea: Is there a way to say `mv -i -- inside/{everything except ./ and ../}'?
Thank you.
Best regards, Eus
More information about formatting options
Not better?
Hi Ho!
IMHO, it's not better than the `find ...' because it will leave out the hidden files in the following case:
$ ls inside
./
../
.a/
.b/
..c/
..d/
...e/
x/
y/
But, your method instills an idea:
Is there a way to say `mv -i -- inside/{everything except ./ and ../}'?
Thank you.
Best regards,
Eus