Posts Tagged ‘interesting’

How to split large files in Windows via split command line and File Archive GUI tool easily

Tuesday, October 22nd, 2024

Moving around a very large files especially Virtualbox Virtual Machines or other VM formats between Windows host and OneDrive might be a problem due to either Azure Cloud configured limitations, or other reasons that your company Domain Administrator has configured, thus if you have to migrate your old Hardware Laptop PC Windows 10 to a newer faster better Harware / Better Performance Notebook Computer with Windows 11 and you still want to keep and move your old large files in this short and trivial article, will explain how.

The topic is easily and most of novice sysadmins should have already be faced to bump into something like this but anyways i found useful to mention about Git for Windows, as it is really useful too thus wrote this small article.

The moved huge files, in my case an experimental Virtual Machines Images which I needed to somehow migrate on the new Freshly installed Windows laptop, the Large files were 40 / 80 etc. Gigabytes or whatever large amount of files from your PC to the Cloud Onedrive and of course the most straight forward thing i tried was to simply add the file for inclusion into the Onedrive storage (via OneDrive tool setup interface), however this file, failed due to OneDrive Cloud file format security limitations or Antivirus solutions configured to filter out the large file copying or even a prohibition to be able to include any kind of Virtual Machines ISOs straight into the cloud.

With this big files comes the question:

How to copy the Virtual Machines from your Old Hardware Laptop to the Cloud (without being able to use an external SSD Hard Drive or a USB SSD Flash drive, due to Domain policy configured for your windows to be unable to copy to externally connected Drive but only to read from such.) ?
 

Here are few sample approaches to do it both from command line (useful if you have to repeat the process or script it and deploy to multiple hosts) or for single hosts via an Archiver tool:

 

1. Using split command Git for Windows (Bash) MINGW64 shell 

Download Git for Windows – https://git-scm.com/download install it and you will get the MINGW64 bash for Windows executable.

Run it either invoke bash command from command line or trigger Windows Run command prompt (Windows button + R) and type full path to executable
 

C:\Program Files\Git\git-bash.exe


Git-for-Windows-bash-for-windows-MINGW64-windows-11-screenshot

Use the integrated program split and to cut it into pieces use:

 

# split MyVeryLargeFileVM.vdi -b 800m


To split the .VDI virtualbox file to lets say 5 Gigabite pieces:

# split MyVeryLargeFile.vdi -b 5g

The output files will be named pieces will be named as in a normal UNIX / GNU split command in the format and each piece of 5GB will be named like:

xaa
xab
xac
xad

If you want to get a more meaningful name for the spilitted files you can set a generated split file prefix with suffixes to be 5 digits long:

# split MyVeryLargeFile.vdi MyVeryLargeFileVM-parts_ -b 5g -d -a 5

  • the -d flag for using numerical suffixes (instead of default aa, ab, ac, etc…),
  • and the option -a 5 to tell it I want the suffixes to be 5 digits long:

2. Split large files by Archiving them with Winrar (ShareWare) tool

If you have already Winrar installed and you don't want to bother with too much typing from the command line, You can use good old WinRAR as a file splitter/joiner as well.

To split a file into smaller files, select "Store" as the compression method and enter the desired value (bytes) into "Split to volumes" box.
This way you can have split files named as filename.part1.rar, filename.part2.rar, etc.

WinRAR_cut-split-large-files-into-pieces-screenshot-Windows

3. Split files with 7-Zip (FreeWare)

Assuming you have the 7-Zip installed on the PC, you can do the archiving of the Big file to a smaller pieces one, you can create the splitted file from 7Zip interfaces menus:

7zip-file-split-files-into-multiple-pieces-windows-screenshot

Or directly cut the single file into multiple volumes, directly from Windows Explorer by Selecting the file and using fall down menus :
7zip-creation-of-multiple-parts-file-from-single-one-screenshot-Windows

7-zip-split-huge-files-to-lower-parts-set-volume-size

Sum it up what learned ? 

What we learned is how to cut large files into multiple single consequential ones for easy copy between Network sides, via both Git 4 Windows and manual copy paste of parted multiple files to OneDrive / DropBox / pCloud or Google Drive.
There is a plenty of other approaches to take as there is also file GUI tools, besides using GNU Win / Gnu Tools for Windows or Cygwin / Gsplit GUI tool  or some kind of the many Archiver toolsavailable for Windows, another option to split the large files is to use a bunch of PowerShell and Batch scripts written that can help you do the file split for both binaries files or Text files. but i'll stop here as I believe that is pretty much enough for most basic needs.

 

What is Sufism (An interesting Muslim Sect, combining teachings from both Islam and Christianity)

Sunday, February 7th, 2010

I decided to blog about Sufism , cause I found it really interesting. I first heard about Sufism, as areligious stream as a reference following some readings about Rumi Mevlana after
I’ve been shown a video about his attained great wisdom by an ex-student
Turkish colleague of mine (Burdji).
Mevlana (or Mowlana) as he is also known is famous for a couple of major things
among Muslims.

1. He used to be a great Persian Poet of his time
2. A great Persian Theologian
3. He was a Major figure in Sufism
5. He was a notable musician of his time
4. His Life inspired the creation of Sufi Dances (Whirling Dervishes).

Here is a nice video with quotes from various Sufi teachers including
Rumi Mevlana himself:

It’s interesting that even though from Christian perspective Rumi Mevlana
and Sufism in general is a Heretical teaching it’s teachings, are closer
and more closer to Christianity than Islam is.
Happy Watching.

Interesting movie telling a hacker story, might be interesting to see

Thursday, October 16th, 2008

Check this out this interesting film which tells a story of a hacker it’s claimed that the filmis based on a real story and I believe so although it’s a bit exaggerated, still it’s a must seemovie the movie is called “23 – Nichts Ist So Wie Es Scheint” check it out.Apart from the film there is not much to say I went out for a shopping to Aldi, came backto Honigkamp. Worked, I had a lot of work today, then watched that movie.Basicly that’s how the day passed .. Maybe it’s a good idea to go out for a walk,because I don’t move enough this day.. What’s good today is that I’ve beenspiritually and emotionally stable for the whole day for which I should give a millionof thanks to God almighty!END—–

Time Changer an interesting Christian Movie (In the Protestant tradition)

Wednesday, September 30th, 2009

Today I’ve watched a nice American Christian movie in the protestant christians tradition.The movie is called Time changer
The story progresses with a couple of guys in an american bible seminary in the 19th century.
One of the professors is eager to publish a new book on morals, which doesn’t stress
on our Lord and Saviour Jesus Christ alone. One of his fellow colleagues is against,
stressing the importance of giving credit to Jesus Christ (the son of God and our Saviour),
for teaching us the true way of godliness. The two guys can’t come into a mutual agreement
about the issue. The writer of the new book couldn’t get the blessing of the seminary,
which would make the book inferior in the distant 19th century. Therefore the
author of the book strives to receive the acceptance of his colleagues. After failing
he is ready to do everything even if it contradicts the teachings presented in the bible.
The professor unwishful to endeavor the new book does explain to the professor author of the
book his motives for showing clear the relation between the Lord Jesus and the teaching of
morals presented in the Holy Bible. It seems this guy had the oportunity to travel in the
future through a gadgy machine invented by his father who has already departured.
This professor had the oportunity to witness what is the fruit of skipping to associate Christ as being the
one stressing on the importance of keeping God’s moral standards in the 21st century.
The professor decides that the only way to convince his fellow colleague author of the new
book is to sent him right into the future and let him witness why teaching of morality
without Christ is pernicious. Finally after witnessing all the insanity and ungodliness created
in man’s life as a consequence of not sticking to our lord’s teaching, while traveling back
to his own time through the time machine the author of the new book rewrites his book to make
it be in accordance with the scriptures. The movie ends with one of the professors testing the machine
trying to send the holy bible as far as he could in the future. However he cannot send it to 2070,
then he tries a 2060, no luck as well etc.. A good end since it points how close we are to the SecondComing of our Lord and Saviour Jesus Christ!
END—–

2 interesting metal movies that everymetal should watch (Movies about Metal Over the World)

Friday, January 15th, 2010

Yesterday, friends of mine has recommended me two movies on the topic of metal
As a global movement. The film is a sort of a headbanger (metalhead) personal research on metal music development and current status all over the world.
The movie was conducted by a San Dunn (a hardcore metal fan) who travels aroundin different locations all around the world and does reflect on metal scene on
the 6 continents. It was of a real interest to me to check out the moviesout of curiosity considering my metal passion that lived with me over the years.
The first movie is called Metal – A Headbanger’s Journey (2005)
The movie includes many interview with famous metal musicians Wacken metal festival scenes of one of the most famous metal bands over the world.
The second movie is called Global Metal (2008) and is a sort of continuation of the first one.
Some of the metal musicians interviewed in the Movie are:

Bruce Dickinson
Tom Araya – (Slayer)
Alice Cooper – (Alice Copper)
Lemmy Kilmister – (Motorhead)
Kerry King – (Slayer)
Rob Zombie – (Rob Zombie)
Lars Ulrich – (Metallica)
Max Cavalera – (Sepultura, Soufly)
Each of the forementioned musicians speaks about his attitude and vision on Metal
as a culture and it’s development over the years as well as about his/her personal
Experience with metal fans during their huge metal tours aroud the world.
The movie includes also references to many infamous on a global scale metal bands
Which are large popular in their home countries and do a serious metal music.
Each of this band’s philosophy and lyrical expression is largely centered around their culture.
This creates something new and unseen before in the metal scene and not to mention
does integrate the world in a better way.It’s really shocking to see the metal scene in India, Indonesia, Japan, China etc.
It’s almost incredible that metal music exists their and enjoys a good popularity
where culture is so different from the culture we have in Eastern Europe!
Well enough talk, take your time get to the nearest torrent or a metal shop and
look for that two titles. I guarantee you’ll experience a couple of hours
of fun and nice music. Enjoy!