Hello, please how can i in Linux move directory, its subdirectories including system hidden files (.htaccess example)


i found one way:
mv /old/directory/* /new/directory;mv /old/directory/.* /new/directory;
(meaning i do 2 commands and second one is for dotfiles)


but curious if it can be done in one simple command