Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
Source by www.cyberciti.biz #
 
PREVIOUS NEXT
Tagged: #bash #copy #hidden #files
ADD COMMENT
Topic
Name
5+3 =