Answers for "bash copy all hidden files"

1

bash copy all hidden files

# Basic syntax:
rsync -a /directory/with/hidden/files/.[^.]* /destination/directory/

# Example usage:
# Say you wanted to copy all hidden directories from your home folder:
rsync -a ~/.[^.]* /path/to/destination/directory
Posted by: Guest on June-26-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language