Skip to content

This project is to split files using command lines from a unix based terminal.

Notifications You must be signed in to change notification settings

juliennyambal/Split_join_bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Split_join_bash

This project is to split files using command lines from a unix based terminal.

Split

To split a file, you need 2 arguments: the number of chunks and the file name.

Usage

./split_file.sh 5 big_file.ext

or

bash split_file.sh 5 big_file.ext

You will be having 5 chunks with names starting by part_.

The files will be then moved to a new folder big_file.ext.folder

Join

To join the chunks, you need the folder where they are located.

Usage

./join_files.sh  big_file.ext.folder/

or

bash join_files.sh  big_file.ext.folder/

The output file will land in the folder previously created.


Please modify the output file to match the original file's extension.

Julien

About

This project is to split files using command lines from a unix based terminal.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages