8
gvnix
2y

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
  • 5
    I exactly know that feeling.

    Im going to do some repetitive work for hours but then i realize that i could just write some code.

    Then i spend hours writing and debuging the crap.

    then run it finally.

    When it does what its designed to do its the best feeling.
  • 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