What I am looking for is a way to recombine split
files without using cat
. Is there such a beast?
It could run on Linux or Windows or Mac OS.
HJSplit allows users to split and join files. It comes with its own graphical interface, and has versions for Windows and Linux. This page on the HJSplit website shows alternatives for Macs, which are considered to be compatible with HJSplit.
You need zenity sudo apt-get install zenity
(for ubuntu/debian users and similar) for this to work, but there are similar programs, to wrap GUI-actions in a script, (i.e.: dialog).
This script asks the user for a file (or a group of files) from a first directory in a GUI-file-selection-dialog, and stores the file names in the variable in1
, similar for in2
, then asks the user in a GUI-dialog for a target file (name and dir), where to cat the result. The last line in the script actually uses cat to cat the files together.
#!/bin/bash
#
# cat multiple files from 2 directories, select them by gui
# (c) GPLv3
#
in1=$(zenity --file-selection --multiple)
in2=$(zenity --file-selection --multiple)
out=$(zenity --file-selection --save --confirm-overwrite)
cat ${in1//|/ } ${in2//|/ } > $out
Save the script, make it executable, and, depending on your desktop environment, you may link it with an icon on your desktop, or make a link in the application menu.
It will work for multiple selections in two directories, but you have to change it for 3 or more directories. You could modify it, to ask for the number of directories/files before selecting them.
cat
with this particular example?
FFSJ consists of two main programs: File Splitter and File Joiner. File Splitter enables you to split a large file into small chunks which are easy to be sent and stored, while File Joiner allows you to join these split parts together so that the original file is restored.
Also, There is this program that concatenate audio and video.
split
(see question)
cat
on OS X / Linux? It's specifically made for concatenating split files. Or is it the GUI you're looking for?cat
works great: but I'm still looking for a non-commandline edition - hence the "GUI" part of my inquiry :) ..it'd be really nice to be able to drop a batch of files into a window, order them as desired, then come back when it's done