General :: Check Small Chunks Compared To Original File?
Feb 21, 2011
i want to upload my iso collection to adrive(.)comi have a slow upload and i want to split each iso file in chunks of 100 MB so they upload while every browsing session of mine.i figured i should use split and cat commands to do that.but i cant afford to upload some corrupt archives, so how may i go about checking the small chunks to the original file before uploading
View 7 Replies
ADVERTISEMENT
Sep 1, 2011
Tool like Media File Segmenter for Linux
I know that one can use ffmpeg to extract a smallfile.avi from a largfile.avi. But What I am looking for is an tool/command to split a large file into several files of a given size.
View 1 Replies
View Related
Oct 6, 2010
Seems that i have totally ****ed up my sony vaio (vgn-fz21z). I've been doing some partitioning and formatting without really knowing what i was doing. Now it is a mess.The vaio comes with pre-installed windows vista, which is no longer installed. I want it to be.Ubuntu 10.4 is installed. In grub I can choose vista but that is only vaio recovery tool. Which is not working. When I try the format cption and take it all back to the original settings, it says that c: is too small or missing.
I also have some cd:s with windows 7 and xp on, but they can't be read. Now the vaio is not even accepting my ubuntu live-cd. I have nothing of importance on the computer, so there would be no problem re-formatting the whole thing. Can it be done? I would prefer is the vaio recovery tool could be left untouched, it has its own partition. I guess I'm asking: is there a way from inside ubuntu to make a total system re-installation, get rid of different partitions and reconstruct c:, so win can be installed again?
View 9 Replies
View Related
Dec 16, 2010
I have a text file with 3 million urls that I want split into chunks of 5,000.
Anyone have idiot proof simple instructions to accomplish this in the command line?
View 9 Replies
View Related
Oct 22, 2009
I need to remove sections from video files (from the middle and the end) on the command-line. Generally these will be mp4 and avi files.
For instance, I have a .mp4 file which is 32:30 minutes long. I'd like to remove from 2:49 to 3:20, and remove the last 60 seconds.
Any ideas on how I can achieve this?
View 1 Replies
View Related
Jan 6, 2011
I need advice in getting the original blacklist.conf of the directory /etc/modprobe.d/ because I erased and I don't know if that file could make me have some issues in the future, so if any body can lend me a copy of that file or refere me to some page where i can get it. Is for the slackware 13 32bits distro.
View 2 Replies
View Related
Nov 28, 2010
how to do a small script that checks if what the users entered is an ip address or not? Also possible to do the same but instead of an ip address is a netmask. For example the user entered: 192.168.0.1 so its true this is an ip address, if it doesn't look like an ip address then is false And second example, the user entered: 255.255.255.0 so the script returns true, and if its not a netmask the script returns false.
View 6 Replies
View Related
Jan 25, 2009
I love the look of FreeNAS, but it does'nt do print server!
Must Have:
Run off a USB Flash Drive
File share with Windows (I want to backup to it)
Be a print server to a laser printer (USB interface)
Be remotely controlled once it is setup(don't have a spare screen and it's going in a spare room/corner BUT I will need to use a GUI for setup)
Free (thats why I won't use Windows)
Run OK on a P3
Preferred:
Power management
Wireless adapter compatible
View 2 Replies
View Related
Jan 14, 2010
Should the swap file be as large as possible or as small as possible providing a person has 8GB of installed ram.
View 14 Replies
View Related
May 2, 2011
I have a hard drive with a bad PCB board. It stays on when not under heavy load and it will restart if I copy too much data off it. So far I have had good luck doing folders under 500 MB in size if I copy one folder to my good hard drive, wait five minutes, copy another, etc.
If I mount the bad drive and try to copy a folder of several GBs in size it will start and then stop as the hard drive restarts. When I try to mount the drive again Linux says it can't read the superblock. I have several folders with over 30 GB of data in many different folders.
What I am looking for is a way of copying a folder in Linux such that the commands grab the whole folder in chunks with a timed break in-between.
View 3 Replies
View Related
May 30, 2011
I've a file with a size of 6GB. I would like to compress this file and split them into smaller files. I was also thinking in use bzip2 to compress it, because if offers a good compression rate. How can I split this file into small ones to compress it?
View 5 Replies
View Related
Jul 30, 2010
How can I check and set who can view or open a given folder or file?
View 1 Replies
View Related
Sep 20, 2015
I want to back up an entire Linux system on a 3Tb external Western DIgital USB3 drive.
I do not want to reformat it from what it is, apparemtly NTFS.
Is there a utility that can act like a file manager like mc, that will permit me to create an ever expanding (to 320Gb) TAR file that will retain all the original file permissions. I have had nothing but disappointment with Linux backup utils with a FAT32 external drive, and I am concerned if I just try an tar the entire drive at once, with around 3 million files, I might run out of memory.
View 5 Replies
View Related
Dec 16, 2009
my partitioning layout was as follows
Vista Recovery
Windows 7
GRUB
Extended
-->Fedora 12 (ext4)
so, I shrunk my recovery in Windows 7 successfully, and booted into my Fedora 12 live cd to run Gparted, and move the partitions so that the free space could go towards fedora, I did such, and then I couldn't expand the partition to my dismay. Next, I woke up this morning, tried to boot to fedora to run SSH, grub loaded, but when I tried to boot fedora, I got the "File system check failed" error, and when I tried 7, it just went to a blank screen with a single "_" in the top left-hand corner.
View 7 Replies
View Related
Dec 13, 2010
I made a bzip2 file by
bzip2 -c /home/os/picture1 > /home/os/Desktop/pic.image
bzip2 -c /home/os/picture2 >> /home/os/Desktop/pic.image
But now extracting pic.image by bzip2 -d /home/os/Desktop/pic.image returns
bzip2: Can't guess original name for pic.image -- using pic.image.out
And then it just creates one file pic.image.out.
How do I access picture1 and picture2 from pic.image?
View 2 Replies
View Related
Jan 28, 2010
Debian lenny, old install (I've upgraded to lenny when it was just about to become the stable release), versus windows 7, fresh install.Comparing browsers speeds with numion.com/Stopwatch.html, I had results such as:Iceweasel (firefox) on linux: from 9.154 seconds to 21:860 seconds (the same webpage, reloaded)Firefox on windows: 4.32 seconds - and never much slower than thatThe fastest browser on linux was Opera, ranging from 8.562 to 5.503 secs to load the same page, but even internet explorer beat/match it with its timing of about five seconds.
I have not other browsers on windows; on linux there is aroraonqueror (KDE3), kazehakase, chrome, and dillo, besides text browsers. I didn't test on dillo; Kazehakase and chrome were the only ones which had nearly decent results, but still very bad, 11 to 13 seconds for chrome, and 21 for kazehakase. Konqueror just seemed to never finish to load the page, I gave up when it was still loading somethingfter nutes and 5 seconds.'ve emptied the cache every time I would test, and I was running almost only the browsers and not much else. Whatever comes by default on windows, and on linux, I was on openbox, with nothing much going on I guess, I think the most memory consuming processthe time, besides xorg and the browsers themselves, was dictd.
I've researched a little bit about, but not enough to make a list of possible things to change in order to improve the speed on linux. Most of the time there are people just agreeing that on windows the rendering is faster, and other people saying that with them is the opposite, with some minor variations like people saying that linux is faster for plain downloads while windows is faster for web browsing due to better graphics.
(by the way; I haven't installed any graphic card driver on windows, which is still running on 1024x768, while linux runs on 1280x1024, with the "nv" generic driver, without fancy options, not supported by my old card) The closest to a suggestion of possible solutions was someone saying tha compilation may affect performance, I guess it was both about kernel compilation, and the web browsers themselves.I'll google a bit more about how to "compile for speed", both kernels and programs (maybe the x server
View 4 Replies
View Related
Jul 6, 2011
i recently purchased my second laptop, primarily for linux. When i chose it, my main concern was battery life. Just to make a side note. When i say battery life, i mean how long the computer takes until the battery goes flat. Not how many years/ect it takes till the battery will no longer hold charge.
My new computer claims to be able to get 10 hours. Although it's a bit off, i get a satisfying little bit over 6 hours, from full charge. This is running Windows 7. I couldn't wait to put Linux on my new computer, i have, but it just isn't satisfying because i only get about 4 hours while running linux, tried three different distros, and all roughly the same.
View 8 Replies
View Related
Feb 20, 2010
I have scenrio where i have to check first whether the files exists or not then count of records should not be equal to zero and file should be of current day not the previous day then only process my next task.There are three files totally.please let me know how to write script to achieve the same.
View 2 Replies
View Related
May 18, 2011
We have a 32bit Gui application created using C++. We ported the application from Solaris to Linux. Issue we are facing is the size of the library and executable is very large in LINUX compared to Solaris. Red Hat Enterprise Linux 5.4 is the Linux version we using. Please find a sample dynamic library created. We would like to know the following behavior of LINUX is normal or not. Consider we created two files test1.cc and test2.cc. Both having a single line of code.
[Code]....
View 2 Replies
View Related
Oct 6, 2010
I've got a script to recursively create symlinks in my home directory to my settings directory, to keep the files under version control. I would like it to skip files which are already symlinked via a parent directory. That is, if I have these files/directories:
~/foo/ -> ~/settings/foo/
~/settings/foo/
~/settings/foo/bar
, how do I check that ~/foo/bar and ~/settings/foo/bar are the same file?
Edit: D'oh, another few minutes of searching revealed the answer: readlink -f $path
View 3 Replies
View Related
Oct 12, 2010
I am witing a file upload program in perl where i need to upload a wav or a gsm file and save it as a gsm file.How can i make sure that the uploaded file is a wav or a gsm sound file and not an executable malicious script or something.
View 2 Replies
View Related
Jan 18, 2010
I have a site that I login to to check updates. It does not have RSS because users need to authenticate themselves before getting access to the page. Is there a way to write a script that can login to the page and check whether the HTML has changed and then send me an email?
View 13 Replies
View Related
Jan 14, 2011
I have a small doubt regarding Assembly file compilation. I have two .s files. When I compile two .s files I am getting corresponding .o files. But when I compare the both .o files with diff command, it is resulting that two files are differing. How could/ what are commands we should use to understand the difference between two .o file's output.
View 4 Replies
View Related
Dec 22, 2010
Occasionally Ubuntu runs a file check, and I assume repair if necessary, at start-up. what do I type into Terminal if I want to run a file check without waiting for the automatic file check to start? The reason I ask is that my system wouldn't boot last week and after several attempts to reboot, the automatic file check came into play and corrected whatever was wrong. This process of rebooting my system several times before Ubuntu fixed itself was very time consuming and frustrating. I dare say that there is a command line to trigger this file check.
View 3 Replies
View Related
Oct 28, 2010
I checked the smbclient man but could not find any switch to us in combination with 'get' to check if the file has been modified before download.
View 1 Replies
View Related
Mar 25, 2011
create one tar.gz file that contains my /home, /etc, /root directory.
a) The process ended with a 88GB file size (which is ok) but with the following message.Code: tar: Exiting with failure status due to previous errors.I have searched a little but I could not find what went wrong.
b) What are the limitations of tar and gz for backups. Of course I fully understand that they can not be used for differential backups (if it is called like that)
c) Let's say that my backup will be a file of 100GB and I want to see the contents of the .tar.gz. In kde there is a program called ark. Can ark handle so big files? Does it use my hard disk (eg. /tmp) to uncompress the file so to show me its contents? It might be the case that might be the compressed file is much bigger than the left space on the hard disk?
d) How can I do an integrity check when my tar.gz file is created?
View 11 Replies
View Related
Feb 18, 2011
I have installed Wubi (Ubuntu 10.10) recently. It takes more time to boot than Windows. But my main concern is that my browsing speed is much slower compared to that on Windows 7. How can this be resolved?
View 1 Replies
View Related
Dec 16, 2010
I have a text file with a long list of RPM's. I need to check if each RPM is installed. I'm sure I can cat out this file and run "rpm -qa" against it, but I'm having trouble with the syntax right now...
View 5 Replies
View Related
Dec 10, 2010
I have been using linux for a bit of time but would still class myself as a noobie. I dont know excatly what I am looking for but I can best describe it in a sanario. I have started creating bash scripts which are looped indefinetly which checks afor files to process. my problem is, is there any way to check if the file is complete, as if the file is large and is being coppied from a different volume the file may still be copying or if the file is being uploaded by a user over samba/nfs, and if the file is still copying the process will most likely fail.
View 1 Replies
View Related
May 18, 2010
i have problem during boot my F11 , the problem is :
Code:
checking file systems
/dev/sda7 : superblock last time ( etc... )
/dev/sda7: Unexpected inconsistency ;run fsck manually (i.e,without -a or -p option)
***an error occured during the file system check
***dropping you to shell:
View 2 Replies
View Related