Created
July 5, 2017 15:55
-
-
Save dflima/8f58890333e389b68ec2fe9dbc67c9e5 to your computer and use it in GitHub Desktop.
Encontra todos os arquivos pertencentes ao usuário "d.lima", que tenham sido modificados nos últimos seis dias e copia, mantendo a estrutura de diretórios, para o diretório "/home/d.lima/xavier_files"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find /srv/dev_data/xavier/ -type f -user "d.lima" -mtime -6 -exec cp --parents --target-directory=/home/d.lima/xavier_files/ {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
xavier 😖