General :: Copy *.pdf From One Mount To Another?

May 23, 2010

I am trying to copy a particular type of file from one mounted drive to another, but I am having difficulties.I would like to copy all of my pdf files from my mounted drive to my USB drive.I am currently in my /mnt/sda2 (sda2 is a Windows XP) directory and want to copy all of the *.pdf files to /mnt/sdf4 (sdf4 is a USB drive).I have tried:copy . *.pdf /mnt/sdf4 (this only copies a couple of files)copy -R . *.pdf /mnt/sdf4 (this starts copying the directories instead of the files)o I want to copy only the *.pdf files contained in the entire sda2 mount over to sdf4.

View 9 Replies


ADVERTISEMENT

General :: Copy A Partition To A Directory, Then Mount It?

Sep 4, 2009

i've been getting into problems trying to move around my partitions, by copying them to a directory on a partitions with alot of extra space, then mounting then with --bind. i think it's todo with the permissions, like i can run gdm for the gui but i can't login.startx doesn't work though, gives me some errors but i don't know alot about x windows. but like the partitions are mounted, but just the system doesn't work properly with them this way?this is my method

Code:
rsync -aHPvx /usr/ /store/usr_proxy
then in fstab
Code:
/store/usr_proxy /usr ext3 bind,defaults 0 0

View 2 Replies View Related

General :: How To Mount HDD And Copy Data To Server

Apr 12, 2010

I have a HDD that cannot be bootup (should be the boot file problem, I want to get back the data in it, so I plug it to another server and trying to copy the data from the failure HDD to this server. Now, the server is re-boot and in maintenance mode as the HDD cannot do the system check. when I try to copy data, it pops the server is read-only system.
1. How to let me write data to the server ; or
2. Let me boot up the server, then I will mount the HDD to it and copy the data to the server.

View 1 Replies View Related

General :: Copy A Read-Only File And Make The Copy Writable With A Single Cp Command?

Mar 1, 2011

How to copy a Read-Only file in Linux and make the copy writable with a single cp command in Linux (Ubuntu 10.04)? The --no-preserve and --preserve seemed to be good candidates, except that they should "and" the mode flags, while what I am looking for is something that will "or" them (add +w mode).

More details: I have to import a repository from GIT to Perforce. I want that all Perforce depot files are Read-Only (that is how Perforce was designed), while all other files that were derived/copied from depot files are writable. Currently if a Makefile tries to copy a Read-Only file then the derived file will also be Read-only. This leads to build-errors when cp tries to overwrite Read-Only file second time. Of course the --force is a workaround here but then the derived file is also Read-Only. Also I do not want to mess with "chmod" after each "cp" command - I will do that only as the last resort.

View 1 Replies View Related

Fedora Servers :: How To Preverse Ownership Of File Copy From NFS Mount

Sep 17, 2010

I export a folder via NFS service.I able to mount this NFS share in another Linux machine.The folder has many files.The ownership of these files aren't belong to single user. There are more than 10 different users' files in the folder.I am trying to migrate all these files to another folder. When I use "cp -a", the new files' ownership are all reset to the logon user.

Both NFS server and client machine has exactly same copy of users/groups as these 2 machines refer to same LDAP directory service. When use "ls -al" to list the NFS share in client, I can see the files ownership is exactly the same as the NFS server.Is that possible to preserve the ownership of files while doing such migration? The "cp -a" fail to deliver the job.

View 3 Replies View Related

Networking :: Mount A Drive And Do Copy Files From Ipaddress1 To Ipaddress2

Oct 13, 2009

how to mount a drive and do copy files from ipaddress1 to ipaddress2

View 5 Replies View Related

Ubuntu Servers :: Copying Files Where The Machine Issuing The Copy Is A 32-bit Lucid And The Mount Drive Is A 64-bit

Nov 18, 2010

We are experiencing problems copying files from a server to server where the machine issuing the copy is a 32-bit lucid and the mount drive is a 64-bit server. I have no other information but the md5's are consistently different after doing a copy. The files are > 8mb.

View 2 Replies View Related

General :: Mount External USB Drive In Debian To A Mount Point Based On The Volume Name

May 5, 2011

How do I configure my Debian installation to mount external USB drives to mount points based on the volume names of the drives? For instance, if I have a thumb drive with the volume name of "SWORDFISH," how do I have Linux mount it at /media/SWORDFISH? I'm aware that this can be setup in FSTAB, but that requires that I know the UUID of the device beforehand and that I take the time to set each external device up in FSTAB first. That does nothing for me when I have a thumb drive that has never been plugged into my computer before.

This seems to be setup by default in Ubuntu/Kubuntu, but is not working for me with a fresh installation of Debian Squeeze and KDE4. I've spent the past 2 hours Googling for a solution and have turned up nothing. UPDATE: My results are inconsistent. Sometimes Debian mounts devices to mount points based on the volume names, and other times it gives them generic mount points (e.g. /media/usb1).

View 2 Replies View Related

General :: Setup Fstab To Automatically Mount NTFS Partitions - GUI To Set The Mount Permissions?

Feb 10, 2010

I am trying to setup fstab to automatically mount my NTFS partitions. I have used various Mount managers to create the entries in fstab. The fstab seems fine, but when mounting at boot or even via Nautilus I get the error message that I do not have permission to mount the disk.

1) Can this permission be set in the fstab file? If so what is the syntax of the fstab entry?

2) If not, is there a tool i.e. GUI to set the mount permissions?

View 14 Replies View Related

General :: Mount Nfs: Mount(2) Input/Output Error, Virtual Box Involved?

Feb 11, 2010

I'm not really sure this is the right category for this post...

I've been thinking and reading but I really don't find a solution, and this is why I decided to post here. I'm not a newbie using Linux but I know absolutely nothing about nfs and related stuff. If explanations are not clear/precise I'm sorry and absolutely open to explain myself better (I'm really desperate, at this point).

I'm running a Debian in a VirtualBox inside a RHEL5. To supply space to the virtual machine I'm trying to mount a disk (? maybe not?) that I created in the RHEL.

In RHEL: I created a directory /some/path/dir and I granted access to it from the VM (edit /etc/exports file and restart the nfs service)

In Debian: I created a directory to be used as mounting point (mkdir /other/nice/path/dir) and I tried to mount (mount -t nfs -v redhat:/some/path/dir /other/nice/path/dir). What happens next is the following:

mount.nfs: timeout set for Thu ...
mount.nfs: text-based options ...
mount.nfs: mount(2): Input/output error
mount.nfs: mount system call failed

Now, this Input/output error is too vague to trace where the problem is, but I really have no idea about how to go more in depth (are there logs somewhere? What should I look for? ... ...).

View 5 Replies View Related

General :: Invalid Mount Option When Attempting To Mount The Volume

Jun 30, 2010

I have two internal hard drives.I just installed Debian Lenny in the smaller 80GB. But when I try to access the other hard drive it shows:

"Invalid mount option when attempting to mount the volume"

info:

-The 80GB is on dual boot with Windows 7 and Debian Lenny.

-The 500GB secondary hard drive is NTFS filesystem.

View 1 Replies View Related

Fedora :: Disk Copy Utility - Should Be Able To Not Only Copy Files But Boot Sector And Everything

Sep 1, 2010

I have a 160GB harddrive which I installed a F12, would like to upgrade to a bigger drive, but I hate to have to re-install everything.

Recommend a good disk copy utility? The utility should be able to not only copy files, but boot sector and everything. So I just need to make a copy, change my BIOS to boot from the new drive and run everything as before.

View 11 Replies View Related

Ubuntu Networking :: Copy Files From XP Infact Folders Using TERMINAL In Netbook, Not Copy And Paste Using Mouse?

Jul 9, 2010

just installed ubuntu couple of days back on my netbook. I am still a beginner, enjoying my adventure exploring ubuntu. I have another desktop which runs on XP. I am able to access XP shared folders through my netbook(linux). However, i wanted to copy files from XP infact folders using TERMINAL in my netbook, not copy and paste using my mouse. Are there any commands for it?

View 1 Replies View Related

General :: Networking 2 Boxes - Error: "unable To Mount Location Failed To Mount Windows Share"

Mar 27, 2011

im trying to get a network setup i followed the instruction via gentoo wiki samba what i have done

[Code]...

then i did chmod 777 to the shared folders on both machines went into nautilus it sees the folder but it will not mount the folder showing the error msg:"unable to mount location failed to mount windows share" ive been searching unbuntu forums opensuseforums and google for an answer to this issue but as of right now anything that i have tried to do has failed and nothing seems to be working.

View 12 Replies View Related

General :: Following CIFS Mount Through NFS Mount?

Jul 20, 2011

I'm having some trouble in trying to make a clean solution and tougher time searching to not get the basic mounting pages/posts. So I thought I'd throw this out hereFor Oracle, we have an app server that runs /sharedapps and is an NFS mount for all other app/db nodes. What I'm working on now is that on this app server that hosts/exports /sharedapps file system has a sub folder with a CIFS mount (/sharedapps/data/appmount). e thing is that the remote nodes with the NFS mount to /sharedapps don't see the remote data in /sharedapps/data/appmount, only the main app server that has the CIFS connection. Realistically it makes sense why, but I'm trying to research if there is a way to have it do so. This is where I'm struggling. We are working on this in a dev instance right now but soon to be in production. In production, there are many DB nodes that could process a request which is why it would be best to have the NFS connection follow the remote CIFS connection

View 8 Replies View Related

General :: "Invalid Mount Option When Attempting To Mount The Volume" On Plugging USB

Jan 18, 2010

I plugged in USB(single fat32 partiton of 2GB) and got message window Cannot mount volume. Invalid mount option when attempting to mount the volume.

[Code]...

Also did check in gparted , dosfsck and fsck.vfat but no errors reported.

View 5 Replies View Related

Debian :: Copy Anything It Says Enough Space Memory To Copy?

Jul 5, 2010

I am using windows xp and debian linux.In windows xp I am having around 25 gb offree memory but in linux if i copy anything it says enough space memory to copy

View 4 Replies View Related

General :: Mount Cruzer Blade 16GB On "Unable To Mount 16GB File System"?

Aug 8, 2011

hen i try to mount Cruzer Blade 16GB on Ubuntu Im told that "Unable to mount 16GB file system Not authorized.@

View 15 Replies View Related

General :: Can't Copy A File

Oct 1, 2010

When i do cp filename destinationfolder it isn't happening. I don't get any error messages or any indication that the file copy didn't happen. But when I go to the destination folder and do ls; the file(s) not there. I tried it with sudo also and i get the same results. When I first did the copy it actually copied it somwhere but not where i wanted it. It copied it to folder name Desktop. So i tried copying it from Desktop and again same results.

View 3 Replies View Related

General :: Scp + Copy The Same Links?

Jan 14, 2011

why scp command not copy links from local copmuter to other ( how to copy the links)as scp -rp dir linux:/dir_targetremark in dir I have files and links

View 1 Replies View Related

General :: Copy Setup From One Box To Another (Different IPs)

Apr 21, 2010

I've been asked to look into moving the contents of 1 linux server which has samba, php, mysql, apache and some other bits installed, to a brand new server which currently only has the os. Is there an easy way of doing this by copying the files/directories straight over or would we need to build all the software from fresh again on the new box? They are both on different IPs so I'm guessing I'd need to update some configs and if I can avoid taking the current box offline then that would also be useful. I'm fairly limited in my linux knowledge.

View 8 Replies View Related

General :: Copy Some Files To A Dvd?

May 24, 2010

I'm trying to copy some files to a dvd. and i was wondering is the tar command the correct command or is there a better way.

View 1 Replies View Related

General :: How To Copy Distro To CD

Jun 19, 2010

I have an ISO copy of back track but it wont burn to DVD (using infrarecorder)

View 4 Replies View Related

General :: Dd Be Used To Copy One Disk To Many?

Jun 1, 2010

Does anyone know if this is possible? I am attempting to copy one "master" hard drive to two or more "destination" drives. I hope to use the DD command because the master drive is encrypted and I need to make exact copies to "destination" drives.

I have used dd if=/dev/sda of=/dev/sda and it works for one-to-one operations. I tried dd if=/dev/sda of=/dev/sdb of=/dev/sdc but the command skips the of=/dev/sdb and copies to sdc....I knew that was going to be too easy

View 14 Replies View Related

General :: How To Copy Hd To Smaller Ssd

May 22, 2011

I ordered a new laptop which has a conventional hd with the pre-intalled os on it. I would like to make an image of all the software that is installed on this conventional hd and move it to an ssd which I will use to replace the hd. Problem is that the conventional hd is 320GB and the ssd is only 240GB. All solutions I've found require the target partition to be at least as large as the source.Is there any way of doing this using linux?

View 8 Replies View Related

General :: Cannot Copy To Opt Folder?

Apr 6, 2010

I installed Kubuntu 9.1 and then I downloaded Xampp of Linux to the desktop, however I have to extract it to /Opt/lampp. And that's the problem. I don't seem to have access or permissions to ?? I tried right-click | properties | permissions but the fields are greyed-out to make any changes.I am logged-in using the same user id/password I created when installing K9.1.

View 14 Replies View Related

General :: Copy File Using SSH

Jun 23, 2010

I m trying to take backup of a file using ssh.I have written a command like following.Which will take backup of vm.cfg as backup.cfg...How would i modify my query?

View 2 Replies View Related

General :: K3b - How To Copy ISO File To DVD

Feb 26, 2011

I'm using ubuntu and I'm trying to copy a .iso file to a dvd. I have k3b at my disposal. My problem is that the dvd is not empty, and I'd like to overwrite it or wipe it before copying the new .iso, but k3b displays an error if I try to overwrite it, it says it doesn't have the necessary rights and proposes me to use k3bsetup. I have it too, but I don't know how to use it.

View 8 Replies View Related

General :: Want To Copy With Rewrite

Jul 23, 2010

I want to copy but without asking method or -r option .

View 2 Replies View Related

General :: Hoe To Copy Without Overwriting

Oct 5, 2010

I looked in the man cp pages to find an option that allows me to copy files without overwriting and without having to answer no every time prompted (huge number of files) but i didn't find any.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved