Ubuntu :: Regularly Need To Copy Files From A Remote Computer?

Mar 11, 2010

I regularly need to copy files from a remote computer to wherever I am working. I've ben looking into alias and the .bashrc (or .profile in the remote computer - mac) Can I use scp in these files? I've tried:

Code:
alias='sch usr@location:'
then when in the local terminal:

Code:
sch path/file .
But this doesn't work.

Better would be copying when logged into the remote location, but I haven't figured that out in terminal yet, let alone an alias for it. Hopefully it'll be a quick solution!

View 6 Replies


ADVERTISEMENT

General :: How To Do A Remote Copy Of Several Files By Using Mget

Jul 23, 2010

I would like to copy several files from a remote machine. This archives are contained in different folders and their name have a commun caractheristic (also the folders).I have tried something like that:

ftp
open machine@
prompt %to get into the non interactive mode

[code].....

View 3 Replies View Related

General :: Copy Remote Files On Nfs Without Round-trip?

Sep 20, 2011

I have a large amout of data (several GB) on a remote drive, that is transparently mounted via nfs. I'd like to copy these files into a subdirectory of where they are already residing, so everything stays on the same physical disk. For that reason, I would like to prevent an unnecessary round trip over the network.

It seems that cp files* subdir does the naive thing and reads all the data into memory and then writes it back. Is that true? Is there a special command that does the actual copying entirely on the server the disk is physically connected to?

View 1 Replies View Related

General :: Using Kickstart Post Install To Copy Remote Files

Feb 1, 2010

CentOS 5.3 32bit
I'm having trouble trying to copy files from an nfs mounted remote machine during the the post install with kickstart.

My post install:
%post
mkdir /mnt/foo
mkdir /mnt/foo/downloads
mount 206.xx.xx.xxx:/downloads /mnt/foo/downloads
ln -s /mnt/foo/downloads /downloads
sed -i '$ afoo:/downloads /mnt/foo/downloads nfs exec,dev,suid,rw,bg,soft,rsize=8192,wsize=8192 1 1' /etc/fstab
%end
%post --nochroot
cp -r /downloads/thirdparty/importantFolder /mnt/sysimage/opt
%end

View 11 Replies View Related

Ubuntu :: OpenOffice Won't Open Files On Remote Computer?

Oct 11, 2010

Using connect to server in 10.04, service type SSH (sftp) from the places menu. This shows my folder and I can double-click pdfs, text files etc from Nautilus. But.... if I try to open an ods or odt file it opens the archive manager. It also fails if I open from within OOo. It used to work but has recently stopped.As an aside, if I export the share via NFS and access it that way, then everything works OK.

View 2 Replies View Related

Software :: Remote Desktop - Get My Files And Stuff From One Computer And Use It On Another One?

Feb 9, 2011

I have been trying to use the remote desktop so I can get my files and stuff from one computer and use it on another one, I have not been able to figure it out...

View 4 Replies View Related

Server :: Copy/delete Files On Remote Server?

Jul 6, 2010

Allright, I made a simple script that tarballs my SQL databases weekly and saves them to a backup harddrive.If possible, I would like to have the backups uploaded to a remote server for storage. But, I must have the script delete the previous upload for size contraints.I can only use rsync, scp or sftp. Haven't used any of them really before... Here's my basic tarball-backup script:

Code:
#/bin/sh
# Dates the new tarballs of current builds.
DATE=`date +%m_%d_%Y`

View 8 Replies View Related

General :: Scp Command - Copy File Into Local Computer By Still Sitting In 1st Computer

Jun 17, 2011

I am using fedora 10 in two computers. Just for my own practice I sent a file to my second computer.

1st computer IP is 192.168.1.10
2nd computer IP is 192.168.1.20

[Code]....

The file has been successfully copied to the second computer but I again want to copy that file into my local computer by still sitting in my 1st computer.

[Code]....

View 1 Replies View Related

Fedora :: Copy A File From 2nd Computer To Local Computer?

Jun 20, 2011

I have two computers in my home running ferora . I want to copy a file from my 2nd computer to my local computer. Local PC:- 192.168.1.10

Remote PC:- 192.168.1.20
[root@localhost root]#scp 192.168.1.20:/home file1.txt
root@192.168.1.20s password:
scp: /home not a regular file
[root@localhost root]

View 3 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

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 :: Remote Copy Like Scp But Without Encypt

Jul 16, 2010

I really like scp for sending a random file here or there, were a permanent share is overkill. Sometimes I send a very large file over a local network that has no reason to encrypted. The encryption maxes out the processor that needs cycles for other stuff and bottlenecks the transfer. Is there a command with similar syntax without encryption?

View 9 Replies View Related

Ubuntu :: Remote Desktop > Windows No Copy / Paste?

May 6, 2010

I am now converted over to ubuntu 10.04, love it everything works perfectly. However i use windows 2003 server for my files and remote desktop and my outlook email, i can remote desktop and do everything but i can't copy and paste a url or a text name. Is there a way around this or something I have to turn on ?

View 2 Replies View Related

Ubuntu :: Cannot Copy To Clipboard From Remote Desktop Viewer In 10.10

Oct 19, 2010

Just installed 10.10 32-bit on a Lenovo T61p laptop, and used Remote Desktop Viewer (version 2.3.2) to VNC into another system. I can copy from an application on 10.10 and then paste into a window in the VNC connection (e.g. to xterm or emacs), but I cannot do the reverse. When I try to paste, I get garbage displayed. For example, I selected "ls -l" from an xterm, which should have copied to the clipboard. When I paste this into an e-mail message, I get junk.

Here is what Emacs in hexl-mode says about that text:
7852 3109 05 xR1..
It shows as "xR1" some whitespace and then a tiny graphical box symbol with 00 and 05 in it. I'll try to paste it on the next line: Is this a known bug? Is there a workaround? Another app I can use?
xR1
This same VNC connection works fine, when I use 10.04.

View 1 Replies View Related

General :: Remote Copy File

Aug 3, 2010

I would like to use the command rcp to copy file from remote server ( linux ) to local pc , what is the command ?the remote server name is lnx_srv , the path is /tmp/ora_file1.txt , the linux login id is ora_usr , the .rhosts have released to ora_usr the localhost pc path is c:OraI read the help page of windows , tried the command rcp lnx_srv.ora_usr:/tmp/ora_file1.txt c:Ora , but not work , the error is "rsh: can't establish connection" , Can advise what is wrong ? what comamnd should i use ?

View 9 Replies View Related

Ubuntu :: Secure Copy: Overwrite Remote File With Sudo?

Mar 18, 2011

My situation:

Host A: need sudo to access the file
Host B: need sudo to access/overwrite the target file

How to copy a file from host A to host B without creating temporaries? Is it possible?

View 1 Replies View Related

General :: Copy A File From Remote Directory

Aug 4, 2011

How to copy a file from remote to local directory and vice versa using ftp bat script file in telnet.

View 1 Replies View Related

General :: Dd Command For Remote Disk Copy?

Jan 20, 2010

Imaging-copying a working remote share on WindowsNT to a local Linux disk target is needed .
Is that possible with dd command(how if remote share is connected as smb://ipnumber/share) and do you need root privilleges on local and remote machine for that?Perhapson source machine:dd if=/dev/hda bs=16065b | netcat targethost-IP 1234on target machine:netcat -l -p 1234of=/dev/hdc bs=16065borrsh 192.168.xx.yy "dd if=/dev/sda ibs=4096 onv=notrunc,noerror" | dd of=/dev/sda obs=4096(any difference to dd/privilleges if you use it as windows dd version since remote is running windowsNT)?

View 1 Replies View Related

Red Hat :: Remote Copy And Replication From JBoss RHQ Console

May 14, 2011

I want to copy a file to all RHQ-Agents through out RHQ-Console.

View 1 Replies View Related

CentOS 5 :: Find And Rsync For Remote Copy?

Jan 14, 2011

This command would copy the files to the local directory,find /mnt/nas -type f -ctime 1 -iname '*.avi' -exec rsync -av {} /mnt/Mythbuntu

View 1 Replies View Related

Ubuntu Networking :: Trying To Copy Id_rsa.pub To Remote SSH Server With Key Auth Already Turned On

May 16, 2011

New machine, need to append my id_rsa.pub to my remote SSH box, cannot use ssh-copy-id because I cannot specify the port I've got the machine running on.

View 1 Replies View Related

General :: Remote File Copy Through Archiving Software ?

Oct 6, 2010

I need to back up a fold on a remote machine to my local box; the remote hd does not have enough space archive it, neither does my local box. I know there's a cantrip to pipe scp through gzip (or similar), but I don't remember the syntax.

View 1 Replies View Related

Software :: Using Dd To Copy An Image File To A Remote System?

Apr 7, 2010

I am trying to get the dd command to successfully copy a disk image to a remote system.Right now I am testing out the syntax by trying to copy the /dev/sda1 directory of the subject computer. The command syntax that I am using is the following:Code:dd if=/dev/sda1 ibs=4096 conv=notrunc,noerror | (ssh 132.183.12.128 of=/roarchive/test obs=4096)The user account running this command is root, and the account does have key-based authentication between the source and destination computers. The command does not return any error messages, but when I check the directory on the destination system, the expected output is not there.

View 7 Replies View Related

Ubuntu :: Remote Computer Not Reachable

Apr 19, 2010

I hope I am not repeating a thread. I am trying something very simple: To remotely connect from a ubuntu desktop to another ubuntu server (physically not reachable). When I ping the server, it seems to be fine. However, when I try to ssh, the connection is closed by the host. I am the only one using the server. It worked fine a few hours ago and I was trying to copy a lot of data using a couple of scp sessions. At some point the connection was closed and I cannot access the server anymore.

View 2 Replies View Related

Ubuntu :: Remote Computer Control Through SMS ?

Apr 27, 2010

As for what I am trying to do: I am looking for a way to run scripts and/or launch programs from a cell phone using SMS. I've found a few options close to this, but nothing that really fits what I'm trying to do. It seems I can either get speed or ease of use, but not both. To explain:

If I understand correctly, Evolution has this functionality through email, but email isn't instant. I'm trying, as best as I can, to use my phone almost like a remote; sending email from my phone would create a considerable wait time.

Using Pidgin's Buddy Pounce feature with AIM lets me use SMS to get a quick response, but I'm running into the problem that I can't make its action depend on what the message says. I want to be able to text, say, "Shutdown", and have my computer run a shutdown command, but Pidgin's Buddy Pounce feature doesn't seem to support checking for specific messages. I've been unable to find a plugin that changes this; if there was, it'd probably be my best bet.

Bluetooth is out; my computer's bluetooth adapter died a long time ago. Additionally, some of the things I'd like to do would be when I'm not near the computer, so even if it was functional, it would be limiting.

Anything that requires any apps for android, iPhone, or w/e are out too. I have an LG Dare, and while it's a nice phone, you can basically forget custom apps.

So, to recap, I'm trying to find some way of sending an SMS or email from my phone, have it be received as quickly as possible, and have the computer run a console command based on the content of the SMS/email. Any ideas?

I'm running Ubuntu 10.04.

View 4 Replies View Related

Ubuntu :: How To Set Up Remote Access To Computer

May 3, 2010

My home network consists of two computers that share one internet connection via a router. I have a desktop computer that runs Ubuntu (Karmic), connected via ethernet; and a netbook that runs Windows 7 (will be Ubuntu, eventually), which connects wirelessly. Both computers have multiple user accounts. What I would like to do is access my account on the Ubuntu desktop via the netbook while my wife is using the desktop with her account (or enable her to access her account on the desktop while I am using it). I looked into VNC, but it, apparently, only supports the active desktop. So, if someone connected to the computer while it was in use, they would be looking at the other user's desktop. Is this a misconception on my part?

So, I have 3 questions:
-From the netbook, how can I log into my account on the desktop and just get a command-line shell?
- From the netbook, how can I log into my account on the desktop and actually have access to my Gnome desktop?
- If I leave my house with the netbook, and want to log into my desktop machine across the internet (CLI and/or Gnome), how can I do that?

View 9 Replies View Related

Ubuntu :: Can Use Computer As A Bluetooth Remote

Jan 29, 2011

I want to use one computer to control Banshee on another computer in the room. without using remote desktop. That's not going too well for me (it works, but it's slow and clunky over my network).

View 1 Replies View Related

Ubuntu :: Command Line To Copy Files From One Location To Another / Retain Source Files Group / User?

Feb 20, 2011

Is there a method at the command line to copy files from one location to another and retain the source files group and user?I'm migrating some MySQL files from one machine to another.I want to back-up the original files in the directory presently. They have owner:group of mysql, some have owner:group root:mysql and so on. To copy them under cli or Nautilus everything changes to root for I execute sudo cp or gksudo nautilus and copy via gui.

Since it is MySQL data I could simply do a dump of the database and restore it on the other machine. But there's about 20 db's and I want to do this via a copy for it will be faster - at least that is what I think.

View 5 Replies View Related

Programming :: Copy A File Securely To Remote Host In JAVA?

Feb 2, 2009

I am looking for an API in JAVA which gives me functionality to copy a file to remote host in secure manner like (SCP).

View 1 Replies View Related

Ubuntu :: Copy Gnome Desktop Layout To Another Computer?

May 23, 2010

Ubuntu 10.04

I tried copying .gnome2 from my personal machine to another computer hoping my desktop layout would be manifested on the second computer, but it wasn't. What else do I need to copy from my home directory to the new machine to make this happen?

Also, is there a way to do the same with Firefox so that I don't have to reinstall the extensions? Copying .mozilla carried my bookmarks, but not my extensions. v

View 3 Replies View Related







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