gist.tolpp

Little fluffy code snippets

Showing posts with label Bash. Show all posts
Showing posts with label Bash. Show all posts

Sunday, June 19, 2016

Bash Find all mp4 and zip files and move them to the current directory [Terminal]

find . -regex ".*\.\(mp4\|zip\)" -exec mv {} . \;

This command finds all mp4 and zip files and moves them to the current directory.
Posted by Tolga Okur at 5:36 PM 1 comment:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Bash, sh
Older Posts Home
Subscribe to: Posts (Atom)

Labels

  • ADB (1)
  • Android (1)
  • aws (1)
  • Bash (1)
  • git (1)
  • iOS (3)
  • MacOS (2)
  • sh (1)
  • Swift (4)
  • UIKit (1)
  • XCode (1)

Blog Archive

  • ▼  2020 (1)
    • ▼  June (1)
      • List all regular files in Unix system with a glob...
  • ►  2019 (2)
    • ►  July (1)
    • ►  March (1)
  • ►  2018 (1)
    • ►  September (1)
  • ►  2017 (2)
    • ►  April (2)
  • ►  2016 (2)
    • ►  June (2)
  • ►  2015 (4)
    • ►  October (1)
    • ►  September (3)

About Me

Tolga Okur
View my complete profile
Creative Commons Lisansı
gist.tolpp.com tarafından hazırlanan bu eser Creative Commons Alıntı-LisansDevam 4.0 Uluslararası Lisansı ile lisanslanmıştır.
Awesome Inc. theme. Theme images by Ollustrator. Powered by Blogger.