General :: How To Copy One Folder To Server

Jul 9, 2010

i want to copy one folder to server using terminal. iwant to copy datatable folder to server. it like this:

copy from
user: /home/qa/html/datatable
to
server: www/html

how to do that...i'm new about this..i try like this:

1> qa@qadesktop2:~$ ftp 10230.35.211
2> fill password
3> ftp>cd www/html
4> ftp>mput
(local-files)/home/qa/html/dataTable-1.6/*

View 3 Replies


ADVERTISEMENT

General :: Copy Folder Hierarchy / Recreate All Folders From One Directory Without Copying Over Contents Of Folder?

Jul 2, 2010

Is there a way to recreate all the folders from one directory to another without copying over the contents of the folder? I've been trying to do something like this,

Code:for i in `ls $X`; do mkdir $PATH/$i; doneUnfortunately $i is deliminated by whitespaces in the filenames and not the actual folders.

$X contains only other folders so I dont have to worry about regular files but any kind of more "advanced" solution would work.

View 1 Replies View Related

General :: Copy Files From One Folder To Another Folder Using Shell?

Mar 4, 2010

i need to copy files from a folder called output files to another folder called running but im not able to do it i always get a stat error

View 14 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 Jre Folder To Another Location?

Jul 10, 2011

I downloaded the bin file, and installed it but I haven't realized that I made the folder in the current directory. I would like to install in /usr/java.

Can I now just copy paste it there. Or I need to re-install to desired location I installed JRE , is that ok or I need to install sdk

View 1 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 An Entire Folder Tree ?

Sep 27, 2010

I am trying to use the cp command to copy some files around but want to preserve the entire folder structure. Example:

Then within the /backup location I want to see /backup/folder1/folder2/file.

I have tried cp -a and cp -p but neither give me the above.

View 3 Replies View Related

General :: Cannot Copy Some Files To Specific Folder?

Jul 20, 2011

sudo cp ../../../rootfs_maker_ramdisk drivers/filesystem/ -rf
give below errorCode:cp: cannot create special file ...._rootfs/dev/hda4': No such device or addressi get this error only in some specific locationsif i dont use sudo then i get permission denied msg

View 4 Replies View Related

Ubuntu :: Copy Files From Original Folder To $user Folder?

Oct 22, 2010

i want make a bash panel and i want he will copy files from orginal folder to $user folder i mean when for explame i type i want install some server he say cp: cannot stat 'root/Desktop/2/files/beckup/sa-mp-steam': No such file or directory.

View 6 Replies View Related

General :: Copy Images From Diff Folder In Shell?

Apr 20, 2011

I have 500 folders of templates in one folder. Now each folder has file called template_thumbnail.png . now i want something so that all those files get copied to one folder with name same as the home folder name

I have cygwin installed and i can copy that folder in there so basically it will linux shell script

View 1 Replies View Related

General :: Copy Entire Folder Contents To Another Using PUTTY?

May 2, 2011

How to Copy the entire folder contents (including sub-folders and their contents) to another folder using PUTTY? Is there any command for that?

View 3 Replies View Related

General :: Automatically Copy An Flashdrive To A Predetermined Folder?

Feb 13, 2011

The reason I ask is, we have a home server running Fedora 12. I would like to be able to let anyone just plug in a flashdrive, and have Fedora automatically grab and copy all the files on that flashdrive to a specific share.

View 1 Replies View Related

General :: Locate Second Disk Path From Ssh And Copy A Folder To It?

Jun 9, 2010

I own a web server (centos 64bit with cpanel on it) and my datacenter add me a second hard disk and i want first to locate from ssh where is it (the path) and then to copy my mysql folder /var/lib/mysql to the new disk and have it like this /new/mysql on the second disk.

View 8 Replies View Related

General :: Making Script To Copy Files To Another Folder?

Jun 5, 2011

make a simple script to copy files from my "hfiles " directory to a "www" folder at leats I think its a directory, it has the permissions as "lrwxrwxrwx " but its like a public branch So I proceeded to make a file entittled MkPublic to copy the "hfiles" directory to the "www" branch

here is the code i used:

#!/bin/sh
# COPIES FILES
echo "copying files"

[code]....

when i try to run the script it tells me that there is a syntax error and an unexpected end of file and nothing seems to get copied anywhere so clearly there is something wrong with one im doing, i tried multiple ways : using the quotes, spacing the equal signs, but I seem to still get the same results.

View 8 Replies View Related

Server :: Copy / Backup Postfix Mail Queues And Paste Folder Back In After Done Migrating All Users And Mails To A New Mailserver?

Apr 25, 2010

can i just copy/backup postfix mail queues in /var/spool/postfix and paste that folder back in after i done migrating all users and mails to a new mailserver?

View 3 Replies View Related

Software :: Copy A File Or Folder In Some System Folder?

Dec 1, 2010

When i want copy a file or folder in some system folder like sbin,Etc.show me error about privilage but when I'm in console i use su command for become admin and i can copy my file or folder.in other operation system like windows user can copy anything,i want know for direct copy my folder in linux without console what should i do? i must join my user name in root group?

View 4 Replies View Related

General :: Can't Make New Folder Or Copy Paste In Newly Created Partition?

Mar 17, 2011

I just maked an ext4 partition by the help of gparted. Ubuntu is my only OS no dual boot. Using Ubuntu Maverick. The problem is partition must be open as root to do any work else it wont even allow me to open file,create folder,cut copy paste or anything.

View 9 Replies View Related

General :: Break Copy Process When Folder Size Reaches Its Maximum?

Mar 19, 2011

I have written a script.

#/bin/bash
a=`du -sh /root/samplefolder | cut -f1`
echo $a > testfile

[code]....

The aim of this script is, when the folder reaches 20M then attributes will be set to that particular folder so that no newfiles and folders cannot be created or copied to that samplefolder. whenever i copy a file morethan 20M to that folder its getting copied fully and then the attributes were applied. But i dont want this to happen, when the folder reaches its maximum current write operation to that folder should be stopped automatically with a error.

View 5 Replies View Related

Ubuntu :: Cp - Copy Only The Folder Contents To New Folder ?

Feb 21, 2010

I should know this but I figured I'd ask before I screw something up.

What is the command to cp just and only the contents of a folder, not the folder itself, into a new folder?

Code: cp -R /path/to/folder/ /to/new/folder/

Is this right?

View 6 Replies View Related

General :: Run Rsync On Server A To Copy All Files From Server B When They Are Newer Than 7 Days

Jun 14, 2011

I want to run rsync on server A to copy all files from Server B when they are newer than 7 days.(find . -mtime -7) I don't want to delete the files on Server B.

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

General :: Copy DB From Server Using Terminal?

Jul 2, 2010

i have been created DB at server..i'm using XAMPP..how to copy the database from server PC using terminal..

View 1 Replies View Related

General :: Copy Whole Directory To Ftp Server

Oct 28, 2010

I have this scripts that is meant to create certain files and a directory by date and once its finished its meant to copy that direcory an the example ftp server.

View 1 Replies View Related

General :: Copy From One Server To Another Without Asking For Password?

Aug 10, 2011

Suppose I want to copy so may files from one server to another server. If i will use scp , then every time it will ask for user password.. Kindly share the complete procedure to do this . like what to take from path /usr/bin/ssh-keygen & copy to which path on 2nd server.

View 3 Replies View Related

Ubuntu :: Copy .jpg To Desktop Folder In Terminal?

Jan 27, 2010

I have been sitting here practising linux commands and I cannot seem to copy a picture from home/pictures to the desktop, specifically a folder I created on the desktop "test"

View 4 Replies View Related

Ubuntu :: Copy All Files From A Folder And Its Subfolders?

May 30, 2010

i have a folder with 250 subfolders and each one of them has (at least) one image in it (along with other stuff)how can i 1)copy all the images from those subfolders and paste them into one folder together (other than by hand, obviously)?2)optional : copy only the images of a certain size and above?

View 2 Replies View Related

Ubuntu :: Slow Copy To XP Shared Folder?

Jun 9, 2010

lately, after shifting to 10.04, when I copy files from the Ubuntu to my XP shared folders, it goes very very slow. i restarted the router and nothing changed. I can see the folders, but the copy speed is still very slow.

View 2 Replies View Related

Ubuntu :: Scheduled Copy Folder Task?

Jan 10, 2011

i was reading on how to do scheduled tasks, however i couldnt find anything that was a scheduled task to copy a whole folder to a NAS(Network Storage) thats linked on my ubuntu desktop every 4 hours or so.

View 1 Replies View Related

Ubuntu Servers :: Automatic Folder Copy/tar Under 10.10?

May 26, 2011

First off I'm running a headless Ubuntu server 10.10 box.I have a single folder on a ntfs drive that I wish to copy somewhere else on the same HD. I'd like this to automatically happen about once a week or so. It would be even better if it would tarball the copy also..but this isn't a 100% necessary.

Something like "XFOLDER" would be copied to "/backup/XFOLDER1.tar" then next time "/backup/XFOLDER2.tar" and so on.

View 1 Replies View Related

General :: Copy Files From One Server To Other Via Cron Job ?

Apr 21, 2010

OS: zLinux, SuSE Linux Enterprise Server 10

I want to copy files from one server to other servers via cron job.

All servers are part of a network.

Here is the copy command I will use:

This script is in our test server.

We need to copy files to other environment via cron job.

View 12 Replies View Related







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