The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
99 views

Find all the modified svn files and copy files modified in the same folder structure

I get all the modified svn files using svn st | grep ^M command M student/includes/class_student_promotion.php M student/includes/class_student_report.php M ...
1
vote
1answer
28 views

file (vdi) increase (at double) size after split and then cat operation

I'd splitted a vdi file with 7 gigabytes and then joined with cat command. The file works normally on VBox, but get 14 gigabytes after be re-joined. The exact operation was: $ split -- bytes=2000M ...
1
vote
2answers
439 views

“Out of Memory” error while copying large files with pcmanfm

This is an older machine running a Debian-based distro with lxde and pcmanfm used as file manager. pcmanfm normally runs quite well, except when it comes to copying very large files (e. g. *.VOBs from ...
1
vote
1answer
718 views

Bash command that uses wildcard in place of folder to copy folder contents of multiple files into one directory?

I have a directory ~/dir that contains a bunch of random folders like: ~/dir/av 801 and ~/dir/lm 320. I want to copy the contents of every inner folder (ie: av 801) into a different directory. The ...
1
vote
1answer
1k views

USB copy hangs for a while when reach the 100%

When I copy files of a considerable size (for example right now one of 689MB) to a USB stick, the copy hangs at 100% for 5 min or more. I have tried both Nautilus and rsync --progress. With the ...
1
vote
1answer
113 views

Will files created under source directory after running `cp` be copied?

Suppose I use cp to copy a directory to another place. If the process takes long, and I create a new file under the source directory, will it be copied, or does it depend on something?
1
vote
1answer
2k views

Copying files between users Using Telnet

How to copy a file from home directory User A to home directory of User B using telnet.
1
vote
1answer
5k views

Is there a command line utility that copy files with progress information? [duplicate]

Possible Duplicate: move files with progress bar cp gets the job done but it would be nice if it had a little more feedback. Are there any utilities out there that do this? Personally, my ...
1
vote
1answer
393 views

File manager with spring-loaded folders?

One thing I miss about Finder, Mac OS X's file manager, is the spring-loaded folder function where if you drag a file(s) over another folder long enough, the folder would open and you can "navigate" ...
1
vote
0answers
35 views

Is it possible to change file permissions when copying

I have a directory with default ACL permissions that get copied to all files created in that directory, but only if they are created in that directory. Would it be possible to change the permissions ...
1
vote
1answer
42 views

Copy a rolling “last 2 months” of files

I have a friend who is a photographer and she has a lot of large files as a result. Our current solution is where some files are delivered to my house. I don't have the storage capability to store all ...
1
vote
0answers
26 views

rsync copy only files facade [duplicate]

Is there a way to mirror a directory structure and files there contained with rsync, giving out facade zero length files? I mean, mirroring dirs (-d flag I think) exactly as they are, while not ...
1
vote
0answers
15 views

File transfer help with Ubuntu and ESXi

I have two esxi machines that I want to directly transfer files between. Is there a way I can facilitate that transfer from a third machine that I have Ubuntu 14.04 running on?
1
vote
1answer
136 views

Linux command to copy as hard links, while deleting unwanted files?

I'm looking for a command that behaves both like cp -al in only creating hard links rather than copying file contents, and rsync -a --delete in removing files from the destination that are not ...
1
vote
0answers
52 views

Copying files to a directory shared via ACL doesn't get default mask

I'm trying to setup a simple shared directory on an ext4 filesystem for a group of users to work on. Let's say i just need to give all permissions to all users belonging to the group "workgroup" to ...
1
vote
1answer
135 views

Replace cp function by rsync [duplicate]

I'm trying to replace my cp function by an rsync function My cp function is the following find /home/odroid/USBHD/Movies/ -iname "*.mkv" -mtime '-1' -exec cp -n {} /home/odroid/NASVD/Movies \; do ...
1
vote
1answer
413 views

FTP “put” not copying file to remote host when ran from shell script but copies the file to remote host when ran manually

ftp -n ${FTP_HOST} << STOP user ${FTP_USERNAME} ${FTP_PASSWORD} binary lcd ${FTP_FROM_DIR} cd ${FTP_TO_DIR} put ${reportFileName} STOP That is my code which is not ...
1
vote
0answers
113 views

How to back-up files from nautilus retaining the time stamp?

I connected my android tablet (Asus fonepad7 me372cg) to laptop using usb cable. It showed up in nautilus in Ubuntu 13.04. I've to back-up the files in the tablet (specially the videos & photos) ...
1
vote
0answers
111 views

Copy file if no error was encountered, else delete copied portion

I am copying a folder in Linux with plenty of files. Some of the files give me error like this: Error splicing file: Input/output error The problem is that it keeps the file in new location though ...
1
vote
1answer
537 views

cp /etc/DIR_COLORS ~/.dir_colors not responding

I'm using CentOS 6.5 and Putty. My problem is that directory file names are shown in dark blue color which is hard to read. I google searched and found this link; basically it's copying the DIR_COLORS ...
0
votes
3answers
43 views

download file from internet to server using SSH

recently because of some problem i lost all my server file and request to hosting team to provide me backup. they will provide me link from where i have to download that compressed file and upload ...
0
votes
5answers
4k views

Download n Upload files via telnet session

I have an attendance Device with Linux OS installed. I am able to connect that device via telnet session. There are some files in the device which I need to download and upload with new files. How can ...
0
votes
1answer
773 views

Copy file while replacing text in it

I'm writing a script to publish a webapp. While copying files, I must replace a placeholder current_date in a file with the current date. I would start with something like this to define the date ...
0
votes
1answer
107 views

Creating the first backup

I heard that rsync isn't the best one when creating the first backup in terms of performance. Instead it is the best for the later backups. So I wonder what are some better commands for creating the ...
0
votes
2answers
25 views

Content cached in RAM while writing to disk - Linux

I'm facing this issue since ever I started using Linux Distros. While copying/moving either graphically or with cp one/many big content(anything like big text file, tar.gz archive, iso file, movies) ...
0
votes
2answers
63 views

File transfer from AIX to Windows - CR and LF issues (Control Characters)

I have an issue transferring files between Unix(AIX) and Windows. I use the following mount command to mount a Windows folder on Unix. mount -v cifs -n /admin/@dmin -o ...
0
votes
1answer
290 views

Is it possible to use dd to clone only the part of the hard drive which is used?

if only 1/3 of a 300GB hard disk is used. Is it possible to use dd to clone the drive (but only the 100GB that is used)? dd if=/dev/sda of=clone.img
0
votes
1answer
110 views

How to copy a file within its original directory, most easily? [duplicate]

What I want to do is basically cp long/directory/path/file long/directory/path/file-copy This or similar operations are pretty common. Typing out the whole path twice is obviously awkward, even ...
0
votes
1answer
1k views

How to copy files nested in directories that match a pattern?

I'm looking to copy files from subdirectories that match this pattern vendor/plugin/*/tasks/*.rake into a folder lib/tasks I think that this could be done several ways, but wanted to see if a ...
0
votes
1answer
17 views

Copying file from DVD fails

I am running Arch linux on my MacBook (Late 2009 unibody, if it matters). Using the following command, I attempted to copy an ISO that is stored on the disk onto my computer pv /mnt/file.iso > ...
0
votes
2answers
44 views

how to copy file from my local pc into my android phone?

I want to copy a file from my local pc into my android phone.The android phone was be read as gphoto2://[usb:001,009]/ mv test.mp4 gphoto2://[usb:001,009]/ mv: cannot move `test.mp4' to ...
0
votes
1answer
50 views

How do I copy all files that have been created or modified in the last 12 months?

I would like to copy all the files created in the last 12 months to a new folder leaving behind everything else. Including sub folders.
0
votes
2answers
54 views

How do I run find, maxdepth and other commands on lcd while using ftp?

I have got the command working locally using normal commands. I now need it to run while using ftp. I understand I need to use '!' And instead of copy I will need to use put so it works on the lcd, ...
0
votes
1answer
60 views

Copy tree directory from specific point

I am now sure how to word this, but: I am copying all the newest .zip files each recursive sub directory inside this original folder: "/Users/Stu/Documents/Hoffi Work/FTP Backup Shell ...
0
votes
1answer
86 views

ssh-copy-id different port

i am trying execute ssh-copy-id in one port different than 22 (default). I researched and found the command below $ssh-copy-id -i ~/.ssh/id_rsa.pub "user@192.168.0.1 -p 22001" but, when execute the ...
0
votes
1answer
356 views

Copy files from USB flash drive to root in OpenBSD

I have OpenBSD 5.6 installed on my notebook computer and would like to copy files from my USB flash drive to the root of the installed OS. I figured out how to mount the USB drive using these ...
0
votes
2answers
1k views

How to transfer file from windows to Unix Machine

I am working in Windows machine I have connected to Unix Machine using Putty, I want to transfer file from my local Windows Machine to Connected Unix Machine, Please suggest what is the command,
0
votes
2answers
145 views

Copy directory not just the contents

I want to copy a directory into another directory. For example, cp -r dir1 dir2 copies the contents of dir1 into dir2. I want to copy dir1 itself into dir2 so that if I ls dir2 it will output dir1 ...
0
votes
1answer
226 views

Importing files from Windows to Linux [closed]

I would like to copy a CSV file from a Windows environment to a Linux environment. Both environments communicate through a terminal emulator called SecureCrt.
0
votes
3answers
5k views

how to copy files from windows to linux witout password using a script or program?

I did this to copy files between Windows and Linux. C:\Documents and Settings\668340\My Documents\putty>pscp "C:\Documents and Settings\563456\abc.txt" "auto_root@10.39.5.41:/home/auto/" But it ...
0
votes
0answers
21 views

After rsync no files exist

From my Ubuntu server I used rsync to copy all my data to my USB drive (FAT). After copying the data (it needed quite a while to copy so I guess the copying did happen) I deleted it from the server. ...
0
votes
0answers
16 views

Verify par2 on different media?

Is there an easy way to point to a par2 index file in one place and have it use a different base directory for the files to verify? Here's what I'm up to: I copy a bunch of stuff to backup media. ...
0
votes
0answers
38 views

rsync question about a directory

I went ahead and used rsync to back up a root directory called /files my exact commands werersync -avzh /files willc66@server.com:/backup, inside my /files directory I had 2 sub directories home and ...
0
votes
0answers
29 views

gFTP - Received File Is (Allegedly) Larger Than Original!

I am using gFTP to transfer a large gzip file (the gFTP window says it is ~3.7GB). However an hour after saying it the transfer was 99% completed and had 00:00:00 time remaining and says the received ...
0
votes
1answer
139 views

How can I use a linux shell script to change directories and copy files?

There are several files I need to copy which are stored in different directories. The file names will all have two common fields that are distinctive for a particular date and time. I can usually ...
0
votes
0answers
26 views

Prime New GlusterFS Cluster w/ 24GB of Files

I am attempting to load my new glusterfs cluster on AWS with my existing files that total in size of over 24GB. From my calculations, it is going to take 8 days to transfer all the files via the ...
0
votes
1answer
388 views

Connect psftp between Unix and Windows server

I need to transfer files from Unix to Windows server. After creating a folder in the windows server files need to be copied from Unix to Windows. I am using psftp to do this process.So, I am trying to ...
0
votes
0answers
87 views

My computer beeps while copying files

Whenever I create disk activity on my memory stick, my headphones create very annoying beeps at various notes. It doesn't happen with my in built speakers, and it hasn't happened before. I'm on Ubuntu ...
0
votes
0answers
73 views

Shell script use ssh forwarding to send a file to a second system

I have ssh forwarding enabled and ssh to server A. On server A I want to run a script as root and take advantage of the ssh key being forwarded for USER to send a file to system B. I'm getting a ...
0
votes
2answers
302 views

Can I copy a folder with a progress bar? [duplicate]

I want to copy a folder with some kind of progress bar. I tried "pv" (Pipe Viewer) but it seems there is no way to copy a folder. Actually I'm not interested in using a script for pv - I would ...