View Full Version : [ubuntu] Configure nautilus-actions for command cat

January 3rd, 2010, 04:48 PM

I'm trying to join splitted files, types xxx.001 ... just 001, without xtm for example.

cat does it very well in command line (terminal):
cat *.xxx.* > file.avi

I'd like to configure Nautilus-actions to execute "cat" directly from explorer by selecting file 001, or all files to join, or the directory where there are, but I do not succeed.

In section "Command":
Path : I put "cat"
Parameters : my problem is here, I tried combinations %M , %d , %s , %f (ex: %d/%f > %d/Video.avi) but nothing works.

For shred, command is:
Path : shred
Parameters : -n 35 -z -u %M

To join pdf documents with pdftk :
Path : /usr/bin/pdftk
Parameters : %M cat output %d/fusion.pdf

And the GUI tools, like TuXtremsplit or Gnome-Split allow to concatenate 001.xtm files but not just 001...

Thanks in advance is someone has the solution (it's not a big problem, doing it via command line is well, but I'd like to find). :)

January 4th, 2010, 05:02 AM
Hi Valeryan_24,

1-Put the attached script in :

2- Select files or directory containing files to join
Right Click -> Scripts -> join_files.sh
4- Enter the destination file

January 4th, 2010, 09:40 PM
Thanks SalahTr,

It works very fine !

Also, coincidence, today the program Gnome Split has been updated and is now able to join xxx.001 files:



January 5th, 2010, 10:58 AM
you're welcome