(GNOME2, Ubuntu 10.04 LTS) I've made a nautilus script, so that if I have a directory full of various codecs, then I just need to right click in that folder -> Scripts -> THISSCRIPT.txt, then presto, it recursively converts all the video files (identified by video mimetype) to x.264 codec with 128 Kbit mp3 to avi. So that they will have small size+good quality.
`man awk` should tell you everything you need to know.Well, everything except for the actual zenity invocation. But `man zenity` will tell you that.
Trilby
https://bbs.archlinux.org/profile.php?id=54694
2012-05-29T01:48:50Z
hi,
after upgrading zenity on Fedora 17 x86_64 from zenity-3.4.0-1.fc17.x86_64 to zenity-3.4.0-2.fc17.x86_64,
the list function works any longer.
with zenity-3.4.0-1.fc17.x86_64 everything work ok.
a example command that works with zenity-3.4.0-1.fc17.x86_64
Code:
echo "+ 1, Unknown (AC3) (2.0 ch) (iso639-2: und), 48000Hz, 384000bps" | grep '^+ ' | sed -e "s/+ /\
progandy wrote:Don't do the calculation if progress is zero?expectedCompletion="$( [ $progress -eq 0 ] && echo "progress is 0" || echo 3k $elapsedTime 10000 \* $progress / $totalTime / 0k 0.5 + 1 / f | dc )"But how to achieve that?
or without a catfish, work in progress, requires locate;guilocate#!/bin/bash
somestring="$(zenity --entry --text="" --title search --width=350)" &&
locate $somestring | zenity --text-info --width=650 --height=600I would prefer to send a filelist back to thunar if possible?
I wanted to play a prank on my sister it didn't work and I thought I'd just ask why not.
On my local machine I type
Code:
find / | zenity --progress --pulsate --text "Erasing hard drive - please wait"
it works, and I get a pulsating dialogue box, the hard drive is using "Find" and so it's going wild, as if it's being erased...
Hi all,
I'm trying to back up a remote server with RSync script:
Code:
#!/bin/bash
## my own rsync-based snapshot-style backup procedure
# config vars
SRC="goupsmar@go-upsmart.com:~/public_html/" #dont forget trailing slash!
SNAP="/media/Backups/UpSmart"
OPTS="-e ssh -rltgoi --delay-updates --delete --chmod=a-w"
MINCHANGES=20
# run this proce
Hi,
Problem: rsync permissions on NAS to desktop USB HD.
Background:
I use NAS4Free via NFS.
clmates wrote:rsync -cavz --stats --progress --no-whole-file --log-file=/var/log/cron_rsync_$(date +%Y%m%d).log /sourcedirectory/ root@remotehost:/remotedirectory/If I'm not mistaken this is rsyncing over ssh rather than via the `rsync --daemon` which encrypts the data thus slowing down everything.
graysky
https://bbs.archlinux.org/profile.php?id=21060
2012-10-01T20:35:46Z