General :: Create A Share On Each And Then Be Able To Copy Files To Each Using Scripts

Feb 8, 2010

I have two Redhat Linux systems and I want create a share on each and then be able to copy files to each using scripts etc. (I dont want to use FTP) What is the most standard way of doing this?

I have read that you can use /etc/exports which seem easy enough, but how does one connect to the remote share and copy files etc, is this command line or file browser etc.

View 6 Replies


ADVERTISEMENT

General :: Copy Files To /usr/share/foldername With Gnome?

Jul 19, 2011

I had to copy some files from terminal to a folder in /usr/share/foldername so I did sudo cp -r something/ /usr/share/foldername which worked, but when I wanted to do it in Gnome, it kept saying I have no permission. How do I do it so it asks for permission, or how do I do sudo + task in Gnome ?

View 6 Replies View Related

General :: Copy Files From System To Machine To Share On Windows?

Jun 30, 2010

I need a command-line method of copying files from a Linux box to a Windows machine that is in a domain and requires authentication. I cannot install additional software or services on the Windows XP machine. I can install any software on the Linux machine. I've tried scp, but the connection failed and if my understanding is correct it is because scp requires that the target (windows machine) be running an ssh service. Is there a command-line linux utility that can pass Windows domain user and password and then copy a file from the linux machine to a share on the windows machine?

View 1 Replies View Related

Ubuntu Security :: Configure The Share And Folder So That The Win7 Client Can Create Files And/or Folders In The Share?

Jan 15, 2010

I've just installed Ubuntu 9.10 and Samba 3.4. I've shared a folder and have accessed the share from a Windows 7 client. However, I've struggled to configure the share and folder so that the Win7 client can create files and/or folders in the share. Kept getting Permission Denied errors. Finally, (using Webmin) I set the permissions on the file folder so that "Other" had write access. I don't understand why this was necessary (and how unsecure this is). I already had the write access checkbox ticked for "User" but it wasn't enough.

View 1 Replies View Related

Ubuntu :: Cannot Copy Files From 10.10 To W2003 Share

Oct 20, 2010

Since i upgrade to Maverick, i can't copy file to a W2003 share using Nautilus via gvfs. I can delete and create files, but I can't copy. But it works in command line with cp. I tried on a samba share, on a XP Pro share, it works. It works on W2003 share only for small files (less than 16 ko)

View 1 Replies View Related

Ubuntu :: Create A Folder Where You Can Copy Files To But You Can't Delete Them After?

Nov 24, 2010

i'm confronting atm. I need to create a folder where ppl can copy files and i need to be sure that those files cannot be deleted after they are copied there. The folder will be accessed over network, and i need to be sure no one will delete somebody else's files.Also i need to tell you that i'm working with regular users, so creating a folder for each user and chown/chmod-ing it won't do the trick(allready tried and ended up with a whole lot of files in the parent directory).I also tried chattr +a but that doesn't allow them to write new files in the folder.

View 2 Replies View Related

OpenSUSE Network :: Create A Home Network To Share Files - Scanner And Printer

Dec 31, 2009

I have four PCs in my house that are running opensuse 11.2 and I want to create a home network to share files, scanner and printer.

View 4 Replies View Related

General :: Create Backups From Some Copy Protected DVD's?

Apr 14, 2010

I'd like to create backups from some copy protected DVD's, for my private use only.

Does it work this way to circumvent the copy protection mechanisms?

Code:
# dd if=/dev/dvd of=dvd.iso

and then burn dvd.iso on an empty DVD.

View 3 Replies View Related

General :: Creating A Script To Move Or Copy Files Into Multiple Directories Below The Files?

Aug 25, 2009

How can you create a script to move or copy files from a main directory into multiple directories below the main directory.

View 7 Replies View Related

Ubuntu :: Create A Bash Script To Create Make A Ftp Mirror Copy Of It

Aug 4, 2011

I recently bought an host to have a personal website and would like to create a bash script to create make a mirror copy of it and then add it to crontab to run once a week. Essentially what I want to do is to get the website by using wget -m ftp://user***@ftp.host/mydir

Once this is done I'd like to have everything in an archive called mysite.date.tar.7z I've no experience at all of bash scripting but I guess this should be an easy task? How to make the user and password not visible ? Is there any other option better than wget? (maybe rsync it works better?)

View 2 Replies View Related

General :: Create A Samba Share For Lost + Found

Jun 6, 2010

If i create a samba share to one of my lost+found folders so i can copy stuff to somewhere else, will that cause a problem? I'm thinking not, but since its a special folder wanted to make sure.

View 6 Replies View Related

General :: Can't Copy Files To Root Owned Files?

Feb 1, 2011

When i installed ubuntu. I made a seperate partition so that i could copy an ISO image onto it of an up-to-date version of ubuntu. I wanted to then boot the ISO up so i could install the version that way.I've already tried doing it through the update manager but it'll download, almost be done with installing and it freezes on me. so i figured this would be easier. However i do not know how to gain access to the other partition to copy the ISO image.

View 6 Replies View Related

General :: Copy Files And Folder Except Some Files And Folders?

Jun 8, 2010

I have many files and folders in my source folder. I want to copy some files and folders from that source folder to destination folder. What should be require to given with the "cp" command?

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 :: 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

Ubuntu :: Share Files And Folders But It Does Not Allow To Select Share Folder

Sep 20, 2010

1. I have Ubuntu 10.04.1 installed alongside Windows Home premium 7 on a Compaq CQ5110f with 2 dual processors, 320 GB HDD, 4 gb Ram, less than a year old/ It is giving me some error messages. It is wanting to lock the drive or various programs after being left unused for a few minutes, I have not found where I can disable this. I do not need passwords, really. I am the only user. I reinstalled it once, on top of itself (Ubuntu) and it worked fine briefly, then started doing it all again.

I use to sometimes install Ubuntu as a windows app. on a previous version, maybe 9.04 - 9.10, but think I can not do it on this version?

So, Can I install as WIndows app on this version of Ubuntu? CAn I install Ubuntu on one drive alone, and windows on the other drive alone, install both in same computer and get dual booting? I think before, to do that I had to reset boot drives in BIOS to whichever I had the OS I wanted to use?

Or MUST they be installed on same drive for dual booting to be available?

I am attaching screen shots of the messages I get, etc. I have tried to share files and folders, but it does not allow me to select Share this folder as some security thing is not installed, And the time I am required to enter password to use comp[iter after being idle a few minutes, seems to be tied to my folder, which is JOHN. I may have to think about removing Ubuntu from this drive, add a SATA drive and use two, one for Windows and one for Ubuntu.

View 5 Replies View Related

General :: Ubuntu - How To Copy Files To /var/www

Aug 24, 2010

I'm trying to copy files to the /var/www folder on Ubuntu 10.04. But I think I don't hava the permission. How can I do this? Maybe I have to set the rights permissions.

View 3 Replies View Related

General :: How To Copy Only Modified Files

Sep 2, 2010

Possible Duplicate: Linux equivalent to robocopy? I have two websites - one is basically a development version and the other is a production version of the same site. So I'd like to be able to merge the changes made to the development site based on the modified date of the files. Is this possible with the 'cp' command?

View 2 Replies View Related

General :: Copy All Files Except From Some Certain Folders?

Jan 19, 2010

At the moment I'm using:"cp -ap . /destination-folder"to copy everything from the folder I'm in to another folder.That works.Is it possible to cp everything except:folder1/folder2/in the current folder I'm in?

View 2 Replies View Related

General :: Copy Files Less Than 7 Days Old?

May 6, 2011

I have searched for a way to copy file less than X days old and I found this:http://www.howtogeek.com/howto/ubunt...days-on-linux/ The syntax for deleting files less than 7 days old would be like this:find /path/to/files* -mtime -7 -exec rm {} ;I would like to copy the files to mntas, and I'm not sure what the syntax should be.ould this work?find /path/to/files* -mtime -7 -exec cp {} mnt
as ;

View 3 Replies View Related

General :: Copy Files From A Partition To Another?

Dec 10, 2010

Now I have learned creating partition in linux (ubuntu), well that's an achievement for a newbie. The next thing that I want to know is, how can I copy the contents of a partition to another partition. Like if I want to backup its content to a new partition that Im going to create.

View 11 Replies View Related

General :: Copy Files From Directory ?

Dec 22, 2009

I have four directories and i want to copy only the files in the directory to a single directory, how can i do it with the cp command.

The directories names are dir1, dir2, dir3 and dir4 and i want only the files from these directories to a single directory called mainDir.

View 3 Replies View Related

General :: Copy Files From Vmware To Pc?

Jun 20, 2011

iam using vmware on windows xp how can i copy files from vmware to pc.

View 8 Replies View Related

General :: Share Files Between Ubuntu And Mac OS X?

Sep 7, 2010

Is there any links/tutorials/videos that helps me share files between Ubuntu and Mac OS X?

View 4 Replies View Related

General :: Cannot See Files On A Samba Share...

Mar 19, 2010

Ok, this is a complicated one, and possibly not entirely a linux question, but here goes-

I have a Synology server, set to backup to an external USB disk. As I understand it this disk is formatted as ext3.

The server recently crashed, so I need to get the data off the USB disk.

Weird thing 1: if I used an ext3 reader for Windows, then I can only see directories on the USB disk, no files. Yet if I mount it back on the (now crashed, but still just about bootable) Synology, then I can see all the files just fine.

Since I can see the files on Synology I figure the Windows ext3 reader is faulty. So I copy all the files to a spanky new QNAP NAS. Telnetting into the NAS I can see everything is present and correct and all the data is there. Great!

Weird thing 2: If I try to access the data via a Samba share, I can't see any of the files. Only directories!

Weird thing 3: I tried to make it all completely open by chown to my user and the "everyone" group, and then chmod uga+rxw *. This made no difference.

Weird thing 4: If I select "show hidden operating system files" in Windows then all the files appear.

Are there some weird "extra" permissions that Synology are using? If so how can I get rid of them? Anybody have an idea what is going on?

My worst case is I'll have to boot the Synology back up and copy the files via that, but I'd like to know whats going on. Oh and black mark to Synology here for making a backup that is hard to use on anything but the original system.

Thanks!

View 5 Replies View Related

General :: Copy Files Using Xargs From A Folder To Another?

Jun 10, 2009

I'm trying to copy a list of files except the files which has ".log" in the filename to another folder.I can run it correctly when I am located in the Source folder, but not when I am in any other location.cd /home/me/Sourcels /home/me/Source -1|grep -v "^.*log$" |xargs -n 1 -iHERE cp -r HERE /home/me/DestinationHow can I indicate both Source and Destination Folder?

View 2 Replies View Related

General :: Copy Mutiple Files Over Scp In One Command?

Mar 4, 2010

I have to transport a lot of files from one pc to another (both Linux). I would like to use scp for that, but scp only allows for transferring one file at a time. How can I do this?

I have No possibility to use rsync or any other protocol No possibility to use passphrase free certificates (but have a certificate with a passphrase) A list of files to transfer and a list with the destination path of the files on the other server The files are spread out over a lot of directories, and not all the files in the directories I want to copy If possible I would like to gzip and ungzip transparently to save bandwidth!

View 3 Replies View Related

General :: How To Only Copy Executable Files (or Without Extension)

May 9, 2011

Suppose there is a directory named mydir containing ...
aaa.cpp
aaa.h
bbb.cpp
bbb.h
Makefile
a
b
Where a,b are executable files. What I want to is to only copy a and b to another location. Is it possible? (other than by manually issuing copy a,b another_dir).

View 2 Replies View Related

General :: Copy All Files Matching Pattern From SRC To DST

Jul 19, 2011

If I wanted to copy all *.so files from src to dst I'd do:
cp src/*.so dst
However, I want to copy all *.so files from src and it's subdirs into dst.

View 2 Replies View Related







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