I am in some directory on my linux hosting. I want to move all files from relative subdir1 to dir2, dir2 being under root dir. So I type
mv ./subdir1/*.* ~/dir2/
but it doesn't work it says it
cannot stat './subdir1/*.*'
|
I am in some directory on my linux hosting. I want to move all files from relative subdir1 to dir2, dir2 being under root dir. So I type
but it doesn't work it says it
| |||
|
feedback
|
|
Try just | |||
|
feedback
|
|
subdir1 either is empty, or a broken symlink or doesn't exist or there are no files in it with dots in their names. | |||
|
feedback
|
|
If, as you say, you want to move all files, then the pattern The correct command would be:
If this does not work, then probably the administrator disabled the shell "pathname expansion" mechanism using the | |||
|
feedback
|
|
Try using complete address. | |||||||
feedback
|