General :: How To Put Progress Bar While Copying

Nov 9, 2009

I want to create a script which will show the amount of data that is been copied from one location to another location. For example: Say I have a file called abc.img which is approximately 4 gb of size therefore every time I copy the file from one location to another I want a progress bar to appear like 50% completed 51% completed and so on.

View 2 Replies


ADVERTISEMENT

General :: TAR Command With Progress Bar

Nov 5, 2009

I have this command in a bash script

Code:
!#/bin/sh
cd /home/n3t
tar -czf /media/disk/BACKUP/home/Pictures/$BACKUPDATE.tar.gz ./Pictures

How can I create a progress bar for this action? I have download the clpbar but I don't know how to use it exactly.

View 1 Replies View Related

General :: Terminal FTP Client With Progress Bar?

Mar 21, 2011

I'm SSHing to a headless Ubuntu box and sometimes need to upload files from that box via FTP. The built-in FTP client does not show the progress of my upload (or at least I don't know how to view it). I just see this during the operation (which could take up to an hour):150 Opening BINARY mode dataonnection for MyFileAre there any FTP clients which I could use in terminal and would show the progress (some kind of a progress bar or just the percentage)?

View 2 Replies View Related

General :: Shell Script Progress Indication

Sep 23, 2010

I can get some sort of indication to show a shell script is running? Even a simple rotating cursor will do, or an increasing row of dots.

Here's one of my scripts...

#!/bin/sh
echo "Main directories"
echo ""
cd /home

[Code]....

View 9 Replies View Related

General :: Cloning Drive With DD - Progress Indicator?

Jan 20, 2010

I have a Shuttle XPC with 3 drives. /dev/sda is a 320GB SATA drive with a basic installation. Two partitions, a swap and the rest is on /. The other two drives are 1.5TB SATA configured as a software mirror as /dev/md0.

I want to use dd to clone the 320GB boot/OS drive to a 750GB SATA I have at home. Last night I put the 750 in a USB enclosure and at about 6:00 PM fired off: dd if=/dev/sda of=/dev/sdd

It's now 7:16 AM and the dd is *STILL* going. Is this unusually long to clone the drive? Is there any way to check the progress or a way to launch dd with a progress indicator?

View 3 Replies View Related

General :: Measure Or Track The Progress Of A Command On A GNU Distro?

May 18, 2010

If I run

cp file1 file2

I'd like to be able to track it's progress. Is there a command I can use for this?

rsync --progress

has this, but is there something generic, usable for "any" command?

View 3 Replies View Related

General :: Copy File In GNU With Progress Bar And Rate Limiting?

Jun 22, 2010

Is there any good tool in GNU/Linux that copy files like cp, but also shows progress and limits speed (and changes limit without interruption) like pv?

Prototype: find source_directory | cpio -H newc -o | pv -s `du -bs source_directory/ | awk '{print $1}'` | (cd /destination/directory && cpio -di)

Also rsync -aP source_directory /destionation/directory/, but this shows progress bars individually and can't change rate after started. Or may be I should just write a wrapper for pv/cpio? Done.

View 2 Replies View Related

General :: Can Cancel Ubuntu Update-Manager In Progress?

Jul 1, 2010

I am using Ubuntu 9.10 and am bothered by the sometimes pretty long update progress. sometimes i wish to abort the update-manager, apt-get or synaptics because i need to go, but i think it might break anything. could you advice me how to do it safely, even if some cleaning up is required afterwards?I was just wondering because certainly there is a way to preserve the pre-update condition, e.g. when installing a new kernel. but my guess is, that the installation is postponed to restart then.

View 1 Replies View Related

General :: RHEL6 - Disable The Tiered-progress Bar During Boot?

Mar 15, 2011

How do you get RHEL6 to display the "traditional" display of startup information instead of the tiered/stacked progress bar? The standard info dump is displayed during shutdown.

View 2 Replies View Related

General :: Monitoring Copy Progress Of A Large File?

Sep 15, 2010

Is there a clever way to monitor the progress (as percentage or hash) of copying a large file (using pv could be an option)?Like monitoring the progress of a copy command such as this:Code:cp linux.iso /tmp/

View 2 Replies View Related

General :: Printing To A Progress Bar To The Terminal From Java/C++ - Stack Overflow?

Sep 18, 2011

I want to update the percentage progress of my program on the screen. I have a progress bar that I print. I add a * when the progress is more than 10%, but I also want to write the actual percentage correct up to every digit. However, I do not want to write a new number every time, since it will have the following effect:

1
2
3
4

Instead, I would like to just maintain one single figure on the screen that keeps getting updated. How do I do that? (... in Java/C++, but I think it's irrelevant)

View 2 Replies View Related

General :: Copy Directory (Local) From Terminal And Show Progress Bar?

Aug 19, 2010

I am new both here and in Linux. As the subject says, I would like to learn how to copy a directory (not a file) from terminal with progress bar showing. The copy is local, i.e., not to another computer. My distro is CentOS 5.5. I know that if I do it with nautilus I would see the progress, but I want to learn how to do it from the terminal. I know that PV command can show a progress bar, but from what I saw, it works well for files, but not for directories (recursive).

Is it possible to use PV for directories? If yes, could you please show me the syntax? I also saw that some people mentioned that rsync can also show a progress bar, I tried to do it, but it didn't work out - perhaps I got the syntax wrong. If rsync can really be used to copy directories with progress bar, show me the syntax? Any other ideas on how to do it? I would like ideas that do not involve using any script, i.e., just something that I can do using the regular commands.

View 6 Replies View Related

General :: Sony PSP File Transfer Inaccurate Transfer Progress?

Jan 1, 2010

Having a bit of a issue with Debian Squeeze and transferring files to the Sony PSP..Hook up PSP to USB port and Debian mounts it..I go to drag a 125 meg mp4 to video folder..Copy windows takes about 10 seconds to transfer it..Exit USB mode and there is no video there. Go back into USB mode and look at video folder on the PSP memory stick and there is no video..It vanished. From another after copy progress closed I right clicked PSP and unmounted it..

It error-ed saying device was busy and could not unmount..Looking at light on PSP i see memory stick is still being written to..i wait for light to stop flashing..About a minute or so..Then am able to unmount it..Go to PSP video and theres the video ready to be watched. Debian isnt accurately showing the copy progress...Its showing complete when it isnt..I have to watch the light on PSP to know when it is truly finished.

View 3 Replies View Related

General :: Copying The LP To CD?

Jul 4, 2011

I have a tube type stereo amplifier (Eico ST-70) and a Empire Troubador turntable, both from 1963. I would like to be able to copy the LP's to CD using Linux.

View 1 Replies View Related

General :: Copying An Audio CD In The Most Accurate Way?

Dec 18, 2010

In cdrecord's man page, EXAMPLES, it says:

Quote:

To copy an audio CD in the most accurate way, first run

cdda2wav dev=2,0 -vall cddb=0 -B -Owav

and then run

cdrecord dev=2,0 -v -dao -useinfo -text *.wav

Now, cdda2wav samples the drive output. But the signal is already sampled in the CD. Do you think this is accurate?

View 7 Replies View Related

General :: Copying Dir To A Usb Thumb Drive?

May 9, 2011

I want to copy my /home to a USB thumb drive recursively. I've wrestled with this for a few hours now and continue to spin my wheels.The device is listed in my Disk Utility as /dev/sdc. However a little further down it is listed as /dev/sdc1 ? Anyway, I relabeled the volume as usb stick and formatted it to Ext4. I mounted it at /media/usb stick Do I have to enter this drive into the fstab? If so, how? what do I write? Using the command : cp -R (what follows... I want to copy /home recursively to the usb thumb drive.)

View 8 Replies View Related

General :: Copying Files Using Smbclient?

Jun 7, 2010

I have a new network attached storage unit that I'm trying to transfer my data to. On this NAS, it has a very basic linux installed with SSH enabled. Browsing through the programs installed on it, i found smbclient. Am I able to copy files directly from my old NAS to my new one using smbclient?It would sure beat transfering 950GB from my old NAS through a computer then onto my new NAS.

View 1 Replies View Related

General :: Copying Permissions From One File To Another?

Nov 4, 2009

copying permissions from one file to another.I know that command for changing permission is "chmod", for example chmod 666 filename However, I have one file filename1 and by listing all contents of a directory with ls -al I can find out its permissions in form -rwwx and similar. Now I want to define exact same permissions to other file "filename2". How to use chmod command to accomplish this. Other way around would be to simply copy permissions from one file to another. Is there any command for this purpose?

View 3 Replies View Related

General :: Copying 1 File To Many Directories?

Jul 25, 2010

The current directory contains:A file called "original.txt" Many directories called "source_001", "source_002", "source_003" ... From the command line how do you copy "original.txt" to "source_001" and "source_002" and "source_003" ...

The total number of these source directories is unknown, it changes every week.

View 4 Replies View Related

General :: Copying Files From Windows?

Jan 3, 2011

How can I copy some files from a windows machine to Linux machine ?

View 13 Replies View Related

General :: Copying Photo Files To CD?

Jan 16, 2010

I am running openSUSE 11.2 KDE 4.3.4 on my ThinkPad R51 laptop.I would like to copy 'File A, File B, File C' (for example) that has photographs of a holiday , to a blank CD inserted into my drive and cannot find a way to 'copy and paste' into the volume.

View 3 Replies View Related

General :: Corrupted MBR By Copying To /dev/sdb1

May 15, 2010

rather by accident, I copied a file to a USB drive by saying

cp <file> /dev/sdb1

rather than

cp <file> /media/USBDISK

I was surprised that this was at all possible (without root privileges and all), but now the drive cannot be mounted.

I did a

dd if=/dev/sdb of=corrupted.disk

but I don't know how to recover the data.

View 2 Replies View Related

General :: KDE - Copying To Root Folders?

Jul 19, 2010

Linux kernel 2.6, slackware 12.0
KDE 3.5.7

I have some directories whose owner is root. When I enter the GUI (KDE) I always do it as normal user john. But then, when I want to copy a file to some of root's dirs, I get an "Access denied" notification. To be sincere, these dirs are in a window$ vfat partition and I can neither change the ownership nor the permissions. So what I do is to switch to a root console and painstakingly type the whole path of both source and destination, with the help, of course, of tab completion. To su to root, copy the file and exit to john would be much more comfortable. But I don't know how to do it. If I do K Menu>Run Command and type 'su root' nothing happens.

View 6 Replies View Related

General :: Protect PDF Against Copying Or Printing?

Apr 23, 2011

How can I do it in ubuntu? OpenOffice 3.2: File - Export to PDF -> Password on copy and print doesn't help. After exporting I can easily copy text from PDF file

View 10 Replies View Related

General :: Prevent SCP From Copying Local Files?

May 17, 2010

I just read the Linux scp command issue question and it reminded me that I regularily forget to specify the colon in the host part of a scp command, and thus copying a file locally instead of copying to a remote host, e.g. I do
scp foo host
instead of
scp foo host:
But I never use scp to copy a file locally. So I wonder if there is a way to make scp fail if both (the source and destination) arguments refer to local files.

View 1 Replies View Related

General :: Copying Text From Emacs Into Other Programs?

Jul 19, 2010

I want to copy part of a file I'm writing in emacs into, say a blog post or something like that. Putting the text into the kill ring doesn't allow me to paste it into another program. As it stands, I have to open the same file in gedit and copy/paste from there. Is there an easier way?

[Weirdly, it works fine the other way round: copying text off a SU answer, for example, I can paste that into emacs with C-y just fine...]

View 2 Replies View Related

General :: Copying A File To Multiple Machines?

Mar 7, 2011

Is it possible to copy a file on multiple remote machines through scp in one command?

View 3 Replies View Related

General :: Copying Files From Ubuntu To Windows Xp?

May 8, 2011

i am accessing linux through putty and i wrote somany programs in unix using putty and gedit but now i need to copy all files into windows. how to copy directory(linux) to folder(windows) without installing any softwares?If it is necessary to install software to copy files then tell me the process of using that software.

View 5 Replies View Related

General :: Copying Files From Current To New Server?

Oct 9, 2009

I'm trying to copy files from my current server to a new server. Both servers have SSH installed. These are the commands I'm using. However I'm getting connection refused. I did a google search and found out that maybe the reason of this error could be due to the fact that my current server doesn't have SSH. However I use SSH often on my current server so I can say that it has SSH for sure.

OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to IP_OF_CURSERVER [IP_OF_CURSERVER] port 22.
debug1: connect to address IP_OF_CURSERVER port 22: Connection refused
ssh: connect to host IP_OF_CURSERVER port 22: Connection refused

View 4 Replies View Related

General :: Copying Open And Incremental File?

May 6, 2010

I'm getting a video from a camera connected to the computer and saving it to a constantly increasing file.

The thing is that I'm trying to make a non-stop copy of this file over the network (i.e. using scp, rsync or something like that).

View 4 Replies View Related







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