Accidentally rename a currently downloading file


This was a small problem I faced, just to share how I solved it.

I was downloading a large file with JDownloader, around 700MB. But while downloading at around 600MB, I renamed the file (with extension “.part”) in the file browser. I didn’t notice it, until I finished downloading the file. Then I have 2 files something like this:

My_target_file_name.part      628647283
original_file_name.avi            734171136

From here, I knew that I renamed the file “original_file_name.part” to “My_target_file_name.part” during the file size was 628647283. But JDownloader continued to download the file until finish at 734171136 size.

Don’t worry, no need to re-download the file immediately. Try the following steps.

What I wanted to do was to combine the ending 105523853 from original_file_name.avi to the My_target_file_name.part, then the problem will be solved. So, split the file,

split -b 628647283 original_file_name.avi output

This will produce the files the outputaa with file size 628647283 and outputab with file size 105523853.

Now, combine the My_target_file_name.part with outputab, will solve the problem.

cat My_target_file_name.part outputtab > My_target_file_name.avi

Now, problem solved.

Advertisements

Sharing my OpenOffice Impress template


Looking at the OpenOffice Impress default templates, they are too dull for me. Then, I am looking for the better template, but cannot find a better one. The main problem is the background. So, I decide to create my own template. I am using the background from deviantART user, PL0. Thanks to his design. Then using the GIMP, to edit the image, then make it as the OpenOffice Impress template. Have a look.

OpenOffice Impress abstract template

Click here to download if you like. It is using Badongo file hosting. I don’t know where is the good place for file hosting. If anyone knows, please suggest.