#!/bin/sh
#
# This script unrars to a directory specified in gdialog and
# redirects stdout to a log file.
#
# Distributed under the terms of GNU GPL version 2 or later
#
# Copyright (C) Unit_1985 <unit_dot_1985(at)gmail_dot_com>
#
# Install in your ~/Nautilus/scripts directory.
# You need to be running Nautilus 1.0.3 +
size=$(gdialog --title "size..." --inputbox "input block size (prefix k=Kb,m=Mb)" 200 350 2>&1)
split -d -a 3 -b $size $1 $1.; gdialog --separate-output --title "unrar log" --msgbox "Archive OK"
Blogged with Flock
Комментариев нет:
Отправить комментарий