Activity Stream
48,167 MEMBERS
61133 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 8 of 8
  1.     
    #1
    Member

    Default How to Copy images

    I have a folder with lots of sub folder, there are many images and other files within those subfolder. i want to move all those images to another folder with a command in shell. how to do that

    folder1
    ----------------
    mydocs
    good
    pro


    above folder 1 is main folder. mydocs,good,pro are subfolders in folder1. there are image with extension .jpg and other files. I want to copy only those images to folder2. i dont have GUI, so i need a search and copy command which will do that. the output must be all image file in root of folder 2


    some please help
    vgnheart Reviewed by vgnheart on . How to Copy images I have a folder with lots of sub folder, there are many images and other files within those subfolder. i want to move all those images to another folder with a command in shell. how to do that folder1 ---------------- mydocs good pro above folder 1 is main folder. mydocs,good,pro are subfolders in folder1. there are image with extension .jpg and other files. I want to copy only those images to folder2. i dont have GUI, so i need a search and copy command which will do that. the Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Banned
    Website's:
    RavenFaust.com USAWarez.com DLThe.Net DLThe.Com
    could just use FTP Drag and drop

  4.     
    #3
    Member
    Hai,

    # cp /path_to_folder_where_are_images/*.jpg /path_to_folder_where_you_want_to_copy_those_images

  5.     
    #4

  6.     
    #5
    Member
    Use the -r option.

  7.     
    #6
    Member
    where to add -r parameter. pls modify the above command with -r in it

  8.     
    #7
    Member
    # cp -r /path_to_folder_where_are_images/*.jpg /path_to_folder_where_you_want_to_copy_those_images

    alternatively just copy everything in the folders
    # cp -r /path_to_folder_where_are_images/* /path_to_folder_where_you_want_to_copy_those_images

  9.     
    #8
    Member
    thanks for d help

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. how to Copy Multiple Images Location
    By Rapidshare in forum Technical Help Desk Support
    Replies: 2
    Last Post: 24th May 2012, 05:17 PM
  2. Broken Images overlapping New Images
    By Leeds in forum vBulletin
    Replies: 8
    Last Post: 17th Apr 2012, 08:57 PM
  3. [Selling] freepicbay.org copy pixhost.org, php,mysql, images
    By jessepure in forum Completed Transactions
    Replies: 0
    Last Post: 12th May 2011, 09:50 PM
  4. Replies: 11
    Last Post: 11th Feb 2011, 11:58 PM
  5. Images Watermarker of my Images and Upload it!!
    By Bytes in forum Completed Transactions
    Replies: 11
    Last Post: 5th Aug 2010, 11:24 AM

Tags for this Thread

BE SOCIAL