6
gvnix
5y

It's the simple things in life that makes me feel that being programmer is fun.

Copying all jpgs from 100 folders? Done.

Ofc I could have searched the folder via Normal finder search, selected them and then copied like a normal human being but wasting more time to do the same thing is what being an engineer about :D

Comments
  • 0
    Ah the good old find -exec cp
  • 1
    I really want to get powerline fonts working >< grrr
  • 1
    cp *.jpg all_pics/

    Or am I missing something?
  • 1
    @endor Yes you are.

    The folder structure is like this ->

    main_folder
    - all_pics
    - Some_folder
    - Some_folder
    - Some_folder
    - ......
    - Some_folder
    - Some_folder
    - Some_folder
    - ......
    - Some_folder
    - Some_folder
    - Some_folder
    - ......
    All folders can have jpgs.
Add Comment