Ubuntu Installation :: Copying File In /usr/src?
Feb 18, 2010
I need to copy certain folder in /usr/src/linux-heasders/drivers/staging directory.
Attempts made are:
1.cp command:
with and without -t option.
output:
Quote:
file omitted
2chmod a+wx directory name
Quote:
output: Permission denied.
3.sudo cp source destination
Quote:
output:file omitted.
View 1 Replies
ADVERTISEMENT
Jun 3, 2010
When I try to copy PDF files from one folder to another folder, it give me this error: "Error while copying "2004-SNUG-Europe-paper_...log_DPI_with_SystemC.pdf". There was an error copying the file into /media/CCDCE66BDCE64F70/Backup Master/Heterogeneous_cosimulation/Documentation" "Error splicing file: Input/output error" What is the reason of this error and how can this be fixed?
View 9 Replies
View Related
Jun 29, 2010
I have a 7.2 GB file (VMWare virtual machine file) that I am trying to copy from its original location to the another folder OR to external hard drive...each time I try to do this, I always get the following error after the copying process reach 'exactly' 1.4 GB
Error reading from file input/output error
And I have to either Cancel or Skip
I've tried to split the files to smaller pieces but the idea didn't work as I still get the same error whenever I try to compress/ split or do any operation with this file. how I can copy this file?
View 2 Replies
View Related
Jun 14, 2010
I am having problems with scp during a backup operationI added a ps -ef before and after the scp operation used during the backup.The backup is a script to backup a Zimbra ServerI am including the code segment that I am having problems
Code:
# DRCP Section. To scp newly created archives to a remote system
if [ "$DRCP" = "yes" ]
[code]...
View 3 Replies
View Related
Mar 1, 2011
Asuming I have two files, one large file and one small file, I want to write the smaller file to the large file without overwriting the remaining part of the larger file.
Both are binary files, and the large file can become very large, so I want to avoid copying the whole file, as that will take some time. Is there any standard Linux console utility to do this, or do I need to write it myself?
View 2 Replies
View Related
Feb 17, 2010
I am trying to copy a file from a network resource on my Local Area Network, which is about 4.5 GB. I copy this file through GNOME copying utilities by first going to Places --> Network and then selecting the Windows Share on another computer on my network. I open it and start copying the file to my FAT32 drive by Ctrl+C and Ctrl+V. It copies well up-to 4 GB and then it hangs.
After trying it almost half a dozen times I got really annoyed and left it hung and went to bed. Next morning when I checked a message box saying "file too large to write" has appeared.
I am very annoyed. I desperately need that file. It's an ISO image and it is not damaged at all, it copies well to any windows system. Also, I have sufficient space on the drive in which I am trying to copy that file.
View 8 Replies
View Related
Jul 3, 2010
basically want i want to do is copy my whole file system to a different hard drive, then reconfigure my partitions and copy it back. then reconfigure grub.
the reason i want to do this is when on dual boot i gave it only 70gb of space and now i want to add 300 more. and since the 300gb of space is a primary partition and this is a secondary i cant extend them or combine them.
so what i want to do is. sudo cp -rP / /home/me/sshfs-folder
also i have raid 0
View 6 Replies
View Related
Nov 24, 2010
I am trying to copy a 7.3gb .iso file to an 8gb USB stick and I get the following error when it hits 4.0gb
Error while copying "xxxxxx.iso". There was an error copying the file into /media/6262-FDBB. Error splicing file: File too large The file is to be used by a windows user, and I'm just trying to do a simple copy, not a burn to USB or anything fancy. Using 10.4.1.LTS, AMD Dual Core, all latest patches.
View 2 Replies
View Related
Aug 2, 2010
i have this .mkv file of a movie which is of size 7.9GB and when i try to copy it to my external drive after some time it shows a error saying "Error splicing file: file too long" so how to copy help
my external HD's file format is vfat. and i am using ubuntu 10.04
View 4 Replies
View Related
Dec 9, 2010
Is there a way to copy a file from the desktop to /usr/lib/ICAclient folder that I have, by using drag and drop.For some reason, I thought I was able to do this in Mint.
View 9 Replies
View Related
Jan 10, 2011
I'm hoping to set up a cron job that takes a file and copies it to a remote password protected FTP server. I've got a command that formats the file with the correct name and I've put it in the anacron file in /etc/cron.d (which I think is right, haven't tested it yet).I'm not sure how to copy the file to a remote server though. I do actually have the ftp server bookmarked in my places menu. So is there a simple way of suppling a file path that will put it straight into that folder? The only problem I can see with this is that the connection won't be open continuously, so would need to be re-opened when needed (I could presumably save the password in the keyring so that I don't need to be there to type it in).
Or maybe set up a cron job that connects to and mounts the ftp server a minute before it has to copy the file over?
View 9 Replies
View Related
Nov 26, 2009
I want to copy a file system with dd. Most of the forums and how-to's warn that the file system must be unmounted. Otherwise, data could be changing and inconsistent or, at best, there may be open inodes, and the copied file system would need to be recovered the first time it is mounted. However, is it sufficient if the file system is mounted read-only? Or does a file opened with read-only still result in an open inode?
View 2 Replies
View Related
Nov 4, 2009
copying permissions from one file to another.I know that command for changing permission is "chmod", for example chmod 666 filename However, I have one file filename1 and by listing all contents of a directory with ls -al I can find out its permissions in form -rwwx and similar. Now I want to define exact same permissions to other file "filename2". How to use chmod command to accomplish this. Other way around would be to simply copy permissions from one file to another. Is there any command for this purpose?
View 3 Replies
View Related
Jul 25, 2010
The current directory contains:A file called "original.txt" Many directories called "source_001", "source_002", "source_003" ... From the command line how do you copy "original.txt" to "source_001" and "source_002" and "source_003" ...
The total number of these source directories is unknown, it changes every week.
View 4 Replies
View Related
Mar 17, 2010
I was just copying a large (50GB) file from one mounted partition to another mounted partition (a USB drive), but before the operation completed, my root filesystem, on a separate partition, filled up.Because it filled up I also couldn't get past the login when I rebooted. I think this is because there is no room to load temporary files. I'm expanding the root partition to temporarily fix this. how can I avoid my root file system filling up when copying a massive file between mounted partitions? the file is being cached in root during the transfer.
View 3 Replies
View Related
Jun 15, 2010
I am having a bit of a problem with my Ubuntu Server 10.04 install. I think it might be a kernel problem. Basically, what happens is when I copy a large file (a 160GB disk image) to my drive (>60GB) the system consistently crashes after about 60GB of the file is transferred. It doesn't matter if I am sending the file using cifs, or over SSH. Checking syslog (paste dump here), it seems these flush errors always appear shortly before the crash occurs. The destination filesystem is a hardware RAID 10 array with 2TB of space. It is formatted as EXT4.
View 7 Replies
View Related
Jul 3, 2010
Using 10.04 Netbook version. I am finding on my Asus EEE 901 that sometimes file copy just seems to freeze - seems to happen usually when copying from the built-in SSD memory to the plug-in SDHC memory card. I have tried reformatting the card and using a different card. It is not just this computer since I found the same thing on my last Asus which was the 900 model.
I am told that there are issues with Nautilus. Is there anything which can be done to improve this or is there anything else which I can install besides Nautilus? I am assuming that there is some issue related to Ubuntu's handling of SDHC memory cards.
It is becoming annoying because it seems to work sometimes and then not. When it happens only option seems to be to turn the netbook off and on again. Even if the file copy is cancelled the card seems to be unaccesible until rebooted.
Also after a certain point it seems that when I try and copy new files to the card, they appear to copy ok but obviously are corrupt in some way - when you try to play videos for instance they are faulty.
View 3 Replies
View Related
Apr 15, 2010
I've got a text file with a list of .gz files, these .gz files are in various sub directories of one parent directory and I've hacked this little script together to copy them from their current location to a new one and spit out any it can't find to "/home/user/not_found" but for the life of me can't get it to run properly!
The shell script as it currently looks:
Code:
View 4 Replies
View Related
May 10, 2010
When I copy files from one partition to another, or from one drive to another, the transfer rates hover around 5-8MB/sec which is kind of slow given that all my hard drives are SATA II. I have the same problem when copying either a single file or a group of files.
I'm running openSUSE 11.2 x64 here (KDE 4.3.5) with three SATA II hard drives that are all formatted with ext3. I have dropped to the CLI and used mv and cp instead - this seems to improve things but I shouldn't have to do this.
View 6 Replies
View Related
Mar 7, 2011
Is it possible to copy a file on multiple remote machines through scp in one command?
View 3 Replies
View Related
May 6, 2010
I'm getting a video from a camera connected to the computer and saving it to a constantly increasing file.
The thing is that I'm trying to make a non-stop copy of this file over the network (i.e. using scp, rsync or something like that).
View 4 Replies
View Related
Oct 15, 2010
This has happened several times now, with 9.10 and 10.04. I back up my photos periodically to external drives, using Nautilus. At the next attempted login Gnome won't start and sometimes gives power manager incorrect installation error.
First time this happened I was stumped and eventually did a clean install. Second time, I found advice elsewhere in this forum to solve this by emptying root trash, which did the trick. This time, however, root trash has nothing in it and 2 users trash were insignificant (I emptied them all anyway with rm -r). Tried looking for enormous directories but couldn't find a smoking gun. I would rather not end up doing another clean install - a painful and extreme solution. I'm continuing to look for solutions to the immediate problem, but my question really is, what causes this and how do I prevent it in the future? I've run Computer Janitor regularly and ran apt-get clean but no help. Should I do all my large scale copying from terminal? I'm not a total noob, but close.
View 9 Replies
View Related
May 28, 2011
Yesterday pendrives started to misbehave when files are being copied/moved into them: after each major file (like a few hundred megabyte movie) the copying process freezes, stops and doesn't seem to proceed. After a long while (a few minutes), it unfreezes and proceeeds, only to get stuck again on another large file. Thus copying 5 movie files takes half an hour instead of just a few minutes.
The freeze occurs regardless of copying method used: mc (F5), Dolphin, command line cp or mv. During the freeze the process refuses to react to any signals, for example 'killall cp' or 'killall mc' doesn't kill the process, only 'killall -9 mc/cp' works, and also only after a short delay.
This misbehaviour continues across reboots.
What may be the cause of this? Where should I look for the source of the problem or for solution?
This has never occurred before - since I'm on llinux, copying to external devices has always been going smooth and fast. On current Debian this used to be like that as well since install untill yesterday. I don't recall doing anything special to the system yesterday or right before yesterday (I switched from Ubuntu to Debian (squeeze, AMD 64) a week ago).
View 11 Replies
View Related
Jun 10, 2010
I'm using fedora 13 to connect to my server's share folder(windows server 2003) and i found that i can create folder,create file, access and open or delete the file in the window share folder, but i can't save or replace the file in the share folder. the error message is like below...there are error copying file into smb://path/folderShow more detail:
Invalid argumenti also have attach the pictureby the way....i had disable the firewall and selinux already....but still can't save the file into the window share folder.previously i use fedora 11 and all is ok with no problem, but the fedora13 got this problem, please tell me what cause this happen?
View 2 Replies
View Related
Nov 16, 2010
Solaris is the os used. I want to copy files from UNIX Machine to windows network drive.I know smbclient,ftp can be used. But is there any other best option i can use?
View 2 Replies
View Related
Jul 23, 2010
I am trying to copy four files from my machine, through a second machine, and finally to the destination. The destination computer can only be reached through the second computer, and I am curious to know if there is an easy way to do this. I am able to ssh to the middle machine and then ssh from there to the destination. I know that I could just copy from the first machine to the second, and then from there to the third. I guess that I'm curious to know what kind of command I can run to do this all at once or even if I could do such a thing (which I'm betting I can). I need to copy these files as root on the destination machine too.
View 6 Replies
View Related
Jun 17, 2010
I am quite confused about the following description on fork. Could you please explain it ?The child process shall have its own copy of the parent's file descriptors. Each of the child's file descriptors shall refer to the same open file description with the corresponding file descriptor of the parent.For example, I am opening a socket and then fork. Now, does the child have a separate socket or is shares it with the parent. Does I have any impact on using it in child?
View 2 Replies
View Related
Apr 22, 2010
I'm planing to copy a productive mysql innodb file from one server to another, and the file size is around 300GB. As the file is keeping changing all the time, I have to shutdown mysql instance and copy the large data file to other server as quickly as possible.I should have to find a way to speed up file copying ... I'm wondering whether there's a way to copy file block by block.If the destination side block has same content, then bypass it.
View 4 Replies
View Related
Nov 10, 2010
Code:
function forcd
{
[code]...
View 2 Replies
View Related
Jul 14, 2010
I'm running Linux version 2.6.33.4 on an ARM9 and can successfully copy directly into the framebuffer using the command:
Code:
cat /usr/myfile.bin >/dev/fb0
I converted myfile.bin from a 640 x 480 x 24 bmp.
What I'd like to do is to have the ability to dump .bin image files directly into the framebuffer from a C program without shelling out to a cat command.
View 3 Replies
View Related