Software :: Scp Script Different Computers And Folders?

Aug 31, 2010

I am trying to make a script that would allow me to transfer files to one computer to another. We have multiple computers which needs the files to be transferred regularly. The script is listed below. The script is ok when I tried to run only for one file but when I use wildcards nothing happens.

#!/bin/csh
set SOURCEFILE=$1
set TARGETCOMP=$2
set TARGETDIR=$3
switch ($TARGETCOMP)

[Code]....

View 2 Replies


ADVERTISEMENT

Software :: Mirroring System Folders Between Two Computers

Sep 7, 2010

I'm trying to mirror an apt-cacher-ng cache between two computers. I have apt-cacher-ng installed on my laptop, and I have another machine running apt-cacher-ng. In order to keep them both up to date with each other and to make sure all the computers have all the updates, I've been trying to find effective ways to keep them matched.

- Unison looks like what I want, it would delete files that are deleted, and it would add files that are added. (the assumption is if they're deleted from one, they'd be deleted from others).
- Rsync seemed quite a bit easier, especially with the advanced permissions issues. Apt-cacher-ng uses a user called apt-cacher-ng.

Instead of giving root an ssh password, I wanted to just ssh as apt-cacher-ng. Then I can still get the files over the network, but without the root account being open.
So I ran:
passwd apt-cacher-ng
and when I sshed, it looked like it was working until it logged me out (almost immediately). So that's not working. What am I missing? Maybe there's a better tool then rsync for this?

View 2 Replies View Related

OpenSUSE Network :: Connecting Two Computers On LAN \ Both Computers Are Connected To A Switch With Cables?

Jan 31, 2011

im trying to connect two computers on lan.One computer has: VMWare Workstation and has Opensuse 11.3 mounted in it.The other computer has: VMWare Player and has Opensuse 11.3 mounted in it.Both computers are connected to a switch with cables.I have followed this guide in both computers:Depanati singuri calculatorul!: Opensuse 11.3 - configure local networkin order to setup a network.In one computer, if i go to: Computer---Network---Network folder, i only see one machine. When in fact i could see both of them right

View 9 Replies View Related

General :: In Ubuntu 9.04 - Mount The Different Folders On The Partition To Different Folders In Home?

May 12, 2010

I have a shared NTFS partition ("shared") that I use for data for both Windows and Ubuntu. How can I mount the music folder on shared to $Home/Music, and the Videos folder on shared to $Home/Videos? I want to mount the different folders on the partition to different folders in home.

View 2 Replies View Related

Ubuntu :: Hiding Folders Inside Of Shared Folders?

Mar 27, 2010

I am setting up a lubuntu nas with all of my music, movies, etc on it. I want to give my kids access to my mp3 directory, so I can move all of the kid appropiate music into the root of my mp3 dir, in the same order I have all of my music sorted. Under the Music folder, I have them sorted, in folders, by letter. So A, B, C, D, etc... Now, in those folders are the respective artists. So where there may be something approipate in the P folder (say, Paramore), there is something inapproipate (say, Pantera)Now, when the kids go to the P folder, I don't want them to even see the Pantera folder. I just want them to see the Paramore folder. I tried a test using chmod 711 and chmod 700 on a directory with a test user, and the user can't access the directory, but can still see it

View 3 Replies View Related

Ubuntu :: Linking Content Of Windows Folders To Folders

Mar 31, 2010

The Problem was I wanted to open my /home/Pictures folder and have it display the contents of the My Pictures folder in my windows partition. This way I could have ubuntu and xp using the same set of music files, picture files, etc. I was having a very hard time understanding how to get from here to there because I'm such a newbie. However I have discovered how to do it and I wanted to post it, in hopes it will make things easier for other newbies.This allows me to see every TYPE of document in /dev/sda8/Media (windows My Documents folder) without having to see any of the folders (My Music, My Pictures, etc).

View 1 Replies View Related

General :: See All The Computers On A WAN?

Jan 15, 2011

In my home I have 2 local networks. Now on some of the MS machines I can't see shared printers vice versa with Linux machines. There is some software that I found befor I could setup and allow me to see across a WAN.

View 8 Replies View Related

Debian :: Connecting Two Computers

Jun 28, 2010

I want to know how to transfer files between two computers having linux using a cat5 cable like in windows easy transfer.I am running Debian squeeze testing with linux 2.6.32-3-686 kernel and gnome 2.30

View 11 Replies View Related

Debian :: Possible To Connect Two Computers Together

May 6, 2011

I had two computers and each had a wireless card, there is no router and no cables or usb sticks etc. Would it be possible to connect the two computers together somehow through the two wireless cards? If so how

View 8 Replies View Related

Fedora :: How To Change Computers Name?

Sep 18, 2009

I installed Fedora 11 64-bit, and now I'd like to change the name from "localhost" to something more personalized. How do I do that?

View 3 Replies View Related

Ubuntu :: Set Up A Share Between 2 Computers?

Feb 14, 2010

Im trying to set up a share between my 2 ubuntu computers. I set one computer to share a folder in the properties tab, and installed the corresponding software. now, how do I search my local network for shares?hat type of share is it? NFS? Is there a tutorial out there some place?

View 1 Replies View Related

Ubuntu :: Different Desktop On Different Computers?

May 8, 2010

I have installed 10.04 on both my laptop and my desktop computer. the desktop was pre-installed with 9.10 then upgraded to 10.04, the laptop was pre-installed with 9.04then upgraded to 10.04. There are a few differences in the look of the desktop but the most notable is the fact that the window controls for the desktop are on the left and the windows controls for the laptop are on the right . Any thoughts as to how this happened or what went wrong. Both were upgraded at the same time.

View 2 Replies View Related

Ubuntu :: Not Connecting To All XP Computers?

Sep 4, 2010

I have configured Ubuntu 10.04 to work on a Windows XP network that has 2 other XP desktops (wired to same router). Ubuntu sees the icons for each computer in the "network" tab of "places" and can access the shared files 1 of those desktops, no problem, but trying to access the other one gets the error "Unable to mount location-failed to retrieve share list from server" I have checked the XP computers and can't find what may be different about them.

View 9 Replies View Related

Ubuntu :: 10.04 - LAN Setup Between Two Computers?

Feb 18, 2011

I'm having ubuntu 10.04 on my pc. How can I setup LAN between two systems in ubuntu?

View 6 Replies View Related

Ubuntu :: How To Change Computers Name

Apr 10, 2011

Slightly off topic, but does anyone know how to change or delete the name on my computer? jim@jim-Inspiron-910:~$

View 9 Replies View Related

Debian :: File Transfer Between Two Computers

Nov 17, 2010

In my laptop with debian-lenny OS I have a number of ripped dvd movies some of which are about 2.5GB. I have transferred those with less than 2GB (that is the size of my usb-flashdrives) to my netbook (with opensuse-11.3 OS) with the help of usb-flashdrives. Is there any method of tranferring the larger files by connecting the two machines by ethernet cables with usb ports and using some software packages?

View 7 Replies View Related

Fedora :: Cannot Kickstart Computers Using The Pxeboot

Jan 28, 2011

I cannot kickstart my computers using the pxeboot The pxeboot is working The kernel is loaded, however, the network manager is not able to get the IP, however, 10 seconds before the PXE was able to get. I do not receive a request on my network

I have messages as

device state change 2->3 (reason 40)
...
device state change 3->4 (reason 0)
...
device state change 5->7 (reason 40)
Timeout

The strange this, if I inserte a stupid switch everything is working.

View 4 Replies View Related

Fedora :: Supports Touchscreen Computers ?

Jun 10, 2011

Does Fedora supports Touchscreen computers? I am planning buy a new desktop computer and there are several models that come with touchscreen, I don't really care about this feature , I just want to know if Fedora can operates under a touchscreen system. If Fedora doesn't support touchscreen systems, Is there any plan to integrate this option in a near future?

View 1 Replies View Related

OpenSUSE :: Syncing Files Across Computers?

Oct 27, 2010

I'm looking for a program that I can use to sync files between two computers. I have a laptop that travels around with me and I want a simple way of transferring the new/changed files to the desktop computer. I'm looking for something that would be simple and quick (point & click) to transfer/backup:photosKDE PIM (emails, ontacts and calender)documentsmusic etc.

View 9 Replies View Related

General :: Synchronize System Changes On Two Computers?

Aug 22, 2010

I have two computers with Ubuntu 10.10 on them, a desktop and a laptop. I have two options for handling them:
Try and keep them the same
Accept that they have different 'personalities' and branch off their on way

However, I've chosen the first option because I like to keep my files and settings the same on both computers. I am in the process of extracting a tar archive I made of my entire desktop's hard drive (9.7GiB) onto my laptop, so after this is done they will be exactly the same. However, upon turning the laptop on with my freshly-copied system, things will become different. If I take the laptop to school, for example, and do stuff there, then come back home, and do stuff on my desktop, how can I sync these computers (both ways!) with the new changes at the end of the day/week/whatever?

View 2 Replies View Related

General :: Transfer Files Over A LAN Between Two Computers?

Aug 22, 2011

I want to transfer files (a music folder) between two Linux computers. After searching for the best way to do this, I've seen that there are lots of ways of doing this. I know this has been asked a lot, everywhere and all the time. The main problem with this is that there is no clear, recent consensus on one best way to do this task in 2011 for Linux beginners (even depending on some parameters).

So in the spirit of the Stack Exchange websites, I want this not to be related to my particular situation, but more of a guide to others as well on how to transfer files between two Linux computers over a local network. I think a wiki would be useful for many.

Here's what I found so far:

ssh
sshfs
scp
sftp
nfs
samba
giver

What is the easiest? Most flexible? Simplest? Best solution? What are the pros and cons of each? Are there other (better) options? What are the parameters in choosing the best method (solution might depend on number of files, filesize, easiness vs. flexibility, )?

View 6 Replies View Related

Ubuntu :: Syncing Two Computers Karmic & UNR?

Jan 2, 2010

I have two computers. One has UNR installed and the other Karmic. I back up my home folder from Karmic monthly. Is there any reason why I could not just copy the home folder from Karmic over the UNR home folder to synchronize my computers? I wasn't sure if UNR might not like this idea...

View 1 Replies View Related

Ubuntu :: Move Thunderbird Between Computers?

Jan 9, 2010

Exactly how do I move Thunderbird emails, settings, contacts from computer A to computer B?

What folders do I copy and move?

View 4 Replies View Related

Ubuntu Networking :: Computers Don't Always Show?

Jan 29, 2010

We have 5 computers networked with 9.04 installed. On some days, when you click on Place -> Network, then all the computers will show. On other days, like today, it does not show. However, one can ping them and I have been able to print to one computer which has the printer attached. SAMBA is installed on the computers for file and printer sharing.

View 2 Replies View Related

Ubuntu :: Syncing Bookmarks With 2 Computers?

Feb 9, 2010

I've got a desktop in my bedroom, and a laptop that I carry everywhere else. I have a tendancy of bookmarking many pages, and sorting them every week or three. sync bookmarks between the two?

View 2 Replies View Related

Ubuntu :: 9.10 - Cannot Get Mic Working On Two Separate Computers

Feb 17, 2010

I am still not able to make my mic work on two separate computers. Thought I'd start fresh. How can I get my MIC working? What's the magic pill?

View 9 Replies View Related

Ubuntu :: Share Files Between Two Computers?

Feb 19, 2010

I can't seem to figure out how to even share files between my laptop and desktop. They are both Ubuntu 9.10. I thought maybe samba was the way but couldn't figure it out. I was looking at the ssh that comes with Ubuntu and been trying to get it to work but don't know what I'm doing wrong. I type: ssh username@computername and it give me a little info. Don't know what I'm suppose to do then. I looked at the network folder on my laptop and it seem to see it but everytime I click on it ask for a password and I can't get in since I don't know the right password. I'm not sure if this is the best software to use or not. Just wanted something to look at and transfer from my desktop to my laptop and vice versa.

View 7 Replies View Related

Ubuntu Networking :: Can't See Shares Between Two Computers?

Mar 21, 2010

both are running 9.04i have samba installed on both, each computer can ping the other, they each have a folder that is being shared, and they each can see a third computer that has windowsxp on it. however, they cannot see each other.not really sure what is going on.went to places/network and nothing shows up except the windowsorkgroup/computer.

View 7 Replies View Related

Ubuntu Networking :: Samba And Nfs Can't See Other Computers?

May 3, 2010

I have a small home network. Computers A and B are both running Kubuntu Lucid. Computer A has an external USB hard drive attached, partitioned ext3 and mounted to a folder in computer A's home folder. Computer C is running Vista. I installed Samba, and computer C can access all the files on both computers A and B. But using Samba, computers A and B can't see each other OR computer C. That's not really important to me, but they can't

So I installed NFS and got computers A and B talking that way. I like NFS better. It's faster than Samba. BUT, computer B can't access computer A's USB drive, and I need it to do that. When I'm using computer B and I click on the folder the drive is mounted to, the file manager just shows the folder as empty.

View 1 Replies View Related

Ubuntu :: Connecting 2 Computers Via Crossover?

May 9, 2010

I'm trying to connect 2 Ubuntu computers with a crossover cable (ethernet). I found the following thread:

[URL]

Its says to go to:

1. In System > Preferences > Network Connections

and under IPv4 tab, change Method to Link-Local Only.

The problem for me is I'm using Xubuntu 9.04 (on 1 of them) and I don't have "Network Connections". Is there a way to get this utility in Xubuntu 9.04 so I can set the method to 'Link local only' ?

View 2 Replies View Related







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