Skip to content

Instantly share code, notes, and snippets.

@romach
Created April 11, 2017 17:57
Show Gist options
  • Save romach/b82a0551b39cd0d789b3ac5fd5a02ff0 to your computer and use it in GitHub Desktop.
Save romach/b82a0551b39cd0d789b3ac5fd5a02ff0 to your computer and use it in GitHub Desktop.
Copy files with wildcard
for file in binlog.*; do cp "$file" "/destination/${file}";done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment