Scripts posted recently tagged to bash in Kelpi

1- 10 of 27.

bash script to convert ASF/ASX to MP3 using mplayer and lame

to bash asx asf mp3 convert lame mplayer by anonymous

#!/bin/bash
# Bram Borggreve (c) 2008. GPL Licensed
# Script to convert ASX to MP3. Needs mplayer & lame binaries

# Check if we received a parameter

Concatenar PDFs con pdftk

to bash pdftk pdf by nando.quintana

#!/bin/bash
pdftk uno.pdf dos.pdf tres.pdf cuatro.pdf cinco.pdf cat output definitivo.pdf

django templates i18n

to i18n django python bash by anonymous

# go to your project directory and create the (PO) messages file

cd /path/to/my/project 
mkdir locale
/path/to/my/django/bin/make-messages.py -l es

Launch a django script from console

to django python console script bash by nando.quintana

#!/bin/bash

export DJANGO_SETTINGS_MODULE=argazkiak_org.settings
python /var/csmant/django/argazkiak_org/photokora/background_process.py

List the system calls that a unix command makes

to strace file bash by nando.quintana

strace file index.txt 2>&1 |grep open

Find and remove files

to ssh system bash remove by garaolaza

# So easy as:
find . -name '*.pyc' -exec rm -rf {} \;

Copy my public key to a remote host

to ssh bash by nando.quintana

ssh-copy-id -i ~/.ssh/id_rsa.pub erral@lindari.cs

ssh debian initial script

to debian ssh bash by anonymous

#! /bin/sh
set -e
# /etc/init.d/ssh: start and stop the OpenBSD "secure shell(tm)" daemon

test -x /usr/sbin/sshd || exit 0

rsync in local dirs

to rsync local backup bash by garaolaza

# With linux filesystem
sudo rsync -rlptD --delete andoni /media/SWISNIFE1/
# With NTFS backup
sudo rsync -rtv --delete Videos /media/SWISNIFE1/

some ways of getting port info

to ports info bash by nando.quintana

$ apt-get install lsof
$ lsof -i TCP:7551
$ lsof -i UDP:29367
$ nmap -p 25 -A -sV localhost
$ nmap -sU -p 25 -A -sV localhos
hits counter