Special copy across filesystems during download


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Special copy across filesystems during download
# 1  
Old 12-22-2009
Special copy across filesystems during download

A large file is being downloaded in my harddisk. I want to copy it in my pen drive. Can i do that simultaneously without waiting for the download to complete?
# 2  
Old 12-22-2009
Yes. But you are absolutely not guaranteed to have copied the entire file when the cp command ends for the disk -> pen drive.

Why - if the USB port moves data faster than the other process "downloading" the file can move data, then the USB can enounter a premature end of file by reading faster than the data ftp stream is being written and hitting the end of the file (from it's perspective) while the other process is still writing.
# 3  
Old 12-23-2009
ya.. obviously the speed of flash drive will be faster. So is there any tool to achieve this? Or any tips to do this?
similarly I want to copy a file being downloaded to /tmp to my home folder(its mounter on another drive). This situation occurs often. Is there a way write some script or tool which will do the copy or move?
# 4  
Old 12-23-2009
This might sound like a dumb question, but: why aren't you downloading to the target directory / the pen drive directly? Or are you downloading as part of a script? If so, we'd need to know how you download those files.
# 5  
Old 12-23-2009
Say I'm viewing a flash video on a website and on the process, the content will be downloaded to /tmp. I want to save it from there than finding seperate pluggin or addon to download from the site itself.
Also when i'm downloading from dc++ or from browser , after initiating the download i find i dont have enough space in that drive, so have to move other stuff to other drive and put it back once download is complete. this is double the job. Thats why checking if there's some tool for this..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Download .xls file from mail and copy to another path using shell script

Hi I have a mail attachment coming from a mail id and evreytime with the same name in .xls format.I have to download the .xls file into a location and convert it itno .csv format and copy the .csv file to another location. (1 Reply)
Discussion started by: bikky6
1 Replies

2. UNIX for Advanced & Expert Users

Stty and copy special character

Hello, I do have a little issue here and Google doesn't give me any solution @this moment. In HP UX Vi editor: I want to place this character: ® I copied it from internet or for example Word Special Symbols. But how do I paste it in Vi? Many thanks in advance :) Sincerely, Arjan (7 Replies)
Discussion started by: velde_van_der_a
7 Replies

3. Solaris

Clustering filesystems

SunOS 5.10 Generic_142900-15 sun4u sparc SUNW,SPARC-Enterprise How can I tell if "clustering" is being used in my shop? I have to file systems that are identical. These filesystems are nfs mounted. But how can I tell if they are being kept in sync as a result of clustering or some other... (2 Replies)
Discussion started by: Harleyrci
2 Replies

4. Shell Programming and Scripting

filesystems > 70%

I need a scrip that will show me the filesystems that are greater than 70%...but not sure how to filter using the df -h | grep Thank you for your help!! (6 Replies)
Discussion started by: eponcedeleonc
6 Replies

5. Solaris

How to safely copy full filesystems with large files (10Gb files)

Hello everyone. Need some help copying a filesystem. The situation is this: I have an oracle DB mounted on /u01 and need to copy it to /u02. /u01 is 500 Gb and /u02 is 300 Gb. The size used on /u01 is 187 Gb. This is running on solaris 9 and both filesystems are UFS. I have tried to do it using:... (14 Replies)
Discussion started by: dragonov7
14 Replies

6. UNIX for Dummies Questions & Answers

How to copy/move to a file with a special character as the 1st char in the filename?

I am trying to create files with special characters in its filenames for testing purposes. This is on a Linux RHEL4 but this should also be applicable on a Unix shell. I am able to create files with special characters in the filenames...e.g. cp -pv foo.gif \*special.gif cp -pv foo.gif \... (6 Replies)
Discussion started by: sqa777
6 Replies

7. UNIX Desktop Questions & Answers

download copy of UNIX, SOLARIS, SCO, anything?

Hi All, I'm a UNIX Newbie, yes, I hate to say it. I'm decent enough though on LINUX box. But of course, it's not the same! Does anyone know where I can download a copy of the UNIX network operating system, that I can install on one of my boxes? I'd very much appreciate all suggestions. ... (2 Replies)
Discussion started by: JaredsNew
2 Replies

8. Shell Programming and Scripting

Filesystems GT 95%

Hi How can I only print the file systems that are more than 95% full. I used the df -k output and tried to check for each file system and then print only the ones that meet the criteria... But my solution seems cloodgie ... (3 Replies)
Discussion started by: YS2002
3 Replies

9. UNIX for Advanced & Expert Users

Filesystems

my partner change the server's ip address and now i can't to mount the oracle's filesystem, what i do? i don't want to reinstall Unix. My unix is SCO UNIX 5.0.5 (9 Replies)
Discussion started by: marun
9 Replies
Login or Register to Ask a Question