Find the answer to your Linux question:
Results 1 to 3 of 3
hi all how can i copy largefiles (10Mb to 10Gb) i tried using this command "cp -r xxxxx-1.1.1.tar.gz" to some path , this path i am giving i did this ...
  1. #1
    Linux Newbie
    Join Date
    Feb 2007
    Location
    hyderabad, india
    Posts
    247

    copy command

    hi all
    how can i copy largefiles (10Mb to 10Gb)
    i tried using this command "cp -r xxxxx-1.1.1.tar.gz" to some path , this path i am giving
    i did this all by programatically..
    but this program copying only small files like .xpm, .png, .txt, .c etc...
    when i am sending xxxxx-1.1.1.tar.gz of 1.2Mb size it saying like this and also not copying
    cp: cannot stat `xxxxx-1.1.1.tar.gz': No such file or directory
    how can i copy this type of large file tooo?

    can you please help me

    thank you in advance.
    "Relationships are built on trust and communication"

  2. #2
    Linux Newbie
    Join Date
    Feb 2007
    Location
    hyderabad, india
    Posts
    247
    i tried this also...
    "cp " (with out -r)
    but it fails.
    same error was came..(cp: cannot stat `xxxxxx-1.1.1.tar.gz': No such file or directory)

    i would like to copy any file with any size...

    how can i do this..

    thank you in advance
    "Relationships are built on trust and communication"

  3. #3
    Just Joined! sharik_pahwa's Avatar
    Join Date
    Jun 2007
    Posts
    29

    Wink copy command

    check the output of

    #ulimit -a

    find the line containing "file size"
    if it is set to some value , the go to /etc/security/limits.conf and comment the same parameter in this file.

    else if not able to find we can add line in limits.conf as


    <User Name> - fsize unlimited

    this might help.......
    all the best.....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...