code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/bash CURL=`which curl 2>/dev/null` WGET=`which wget 2>/dev/null` OUI_DOWNLOAD_URL="http://standards.ieee.org/regauth/oui/oui.txt" OUI_PATH="/usr/local/etc/aircrack-ng" AIRODUMP_NG_OUI="${OUI_PATH}/airodump-ng-oui.txt" OUI_IEEE="${OUI_PATH}/oui.txt" USERID="" # Make sure the user is root if [ x"`which id 2> /...
Shell
#!/bin/sh include_docs=-Dgerrit.include-documentation=1 while [ $# -gt 0 ] do case "$1" in --no-documentation|--without-documentation) include_docs= shift ;; *) echo >&2 "usage: $0 [--without-documentation]" exit 1 esac done git update-index -q --refresh if test -n "$(git diff-index --name-only HEAD -...
Shell
#!/bin/sh # Update all pom.xml with new build number # # TODO(sop) This should be converted to some sort of # Java based Maven plugin so its fully portable. # POM_FILES=$(git ls-files | grep pom.xml) case "$1" in --snapshot=*) V=$(echo "$1" | perl -pe 's/^--snapshot=//') if [ -z "$V" ] then echo >&2 "usage: $0 ...
Shell
#!/bin/sh export JETTY_HOST=127.0.0.1 export JETTY_PORT=8081 export JETTY_USER=gerrit2 export JETTY_PID=/var/run/jetty$JETTY_PORT.pid export JETTY_HOME=/home/$JETTY_USER/jetty export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.07/jre JAVA_OPTIONS="" JAVA_OPTIONS="$JAVA_OPTIONS -Djetty.host=$JETTY_HOST" export JAVA_OPTION...
Shell
#!/bin/sh # # Part of Gerrit Code Review (http://code.google.com/p/gerrit/) # # Copyright (C) 2009 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://w...
Shell
#!/bin/sh V=$(git describe HEAD) case "$V" in '') echo >&2 "fatal: no annotated tags, cannot determine version" exit 1 ;; *-g*) echo >&2 "fatal: snapshot $V, cannot determine version" exit 1 ;; v*) echo "$V" | perl -lne 'print $1 if /^v(\d+\.\d+(?:\.\d+)?)/' ;; esac
Shell
#!/bin/sh # # Launch Gerrit Code Review as a daemon process. # To get the service to restart correctly on reboot, uncomment below (3 lines): # ======================== # chkconfig: 3 99 99 # description: Gerrit Code Review # processname: gerrit # ======================== # Configuration files: # # /etc/default/gerrit...
Shell
#! /bin/bash CWD=$(pwd) VERSION="0.9.0" VENDOR="AIRcable" APPNAME="AIRbot" CAPTION="AIRbot" SHORT_CAPTION="AIRbot" LANG="EN" DRIVE="E" TARGET="AIRbot.sis" SOURCE="cellphone" rm -rf temp mkdir temp cp -r $SOURCE/* temp/ rm -rf temp/.svn cd ~/.wine/drive_c/PythonForS60/ wine ~/.wine/drive_c/Python25/python.exe ensymb...
Shell
#! /bin/bash CWD=$(pwd) VERSION="0.9.0" VENDOR="AIRcable" APPNAME="AIRbot" CAPTION="AIRbot" SHORT_CAPTION="AIRbot" LANG="EN" DRIVE="E" TARGET="AIRbot.sis" SOURCE="cellphone" rm -rf temp mkdir temp cp -r $SOURCE/* temp/ rm -rf temp/.svn cd ~/.wine/drive_c/PythonForS60/ wine ~/.wine/drive_c/Python25/python.exe ensymb...
Shell
#!/bin/bash # # Copyright 2007 Wireless Cable Inc. # # Author: Naranjo, Manuel Francisco <naranjo.manuel@gmail.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://ww...
Shell
#!/bin/bash # # Copyright 2007 Wireless Cable Inc. # # Author: Naranjo, Manuel Francisco <naranjo.manuel@gmail.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://ww...
Shell
#!/bin/bash # # Copyright 2007 Wireless Cable Inc. # # Author: Naranjo, Manuel Francisco <naranjo.manuel@gmail.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://ww...
Shell
#!/bin/bash # # Copyright 2007 Wireless Cable Inc. # # Author: Naranjo, Manuel Francisco <naranjo.manuel@gmail.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://ww...
Shell
#!/bin/bash # # Copyright 2007 Wireless Cable Inc. # # Author: Naranjo, Manuel Francisco <naranjo.manuel@gmail.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://ww...
Shell
#!/bin/bash # # Copyright 2007 Wireless Cable Inc. # # Author: Naranjo, Manuel Francisco <naranjo.manuel@gmail.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://ww...
Shell
#!/bin/bash # # Copyright 2007 Wireless Cable Inc. # # Author: Naranjo, Manuel Francisco <naranjo.manuel@gmail.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://ww...
Shell
#!/bin/bash # # Copyright 2007 Wireless Cable Inc. # # Author: Naranjo, Manuel Francisco <naranjo.manuel@gmail.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://ww...
Shell
#!/bin/bash # # Copyright 2007 Wireless Cable Inc. # # Author: Naranjo, Manuel Francisco <naranjo.manuel@gmail.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://ww...
Shell
#!/bin/bash # # Copyright 2007 Wireless Cable Inc. # # Author: Naranjo, Manuel Francisco <naranjo.manuel@gmail.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://ww...
Shell
rm -rf build rm -rf *egg-info
Shell
#! /bin/bash bash clean.sh python setup.py bdist_egg bash clean.sh
Shell
#! /bin/bash bash clean.sh python setup.py bdist_egg bash clean.sh
Shell
rm -rf build rm -rf *egg-info
Shell
#! /bin/bash bash clean.sh python setup.py sdist bash clean.sh
Shell
#! /bin/bash bash clean.sh python setup.py bdist_egg bash clean.sh
Shell
#! /bin/bash bash clean.sh python setup.py sdist bash clean.sh
Shell
#! /bin/bash bash clean.sh python setup.py bdist_egg bash clean.sh
Shell
rm -rf build rm -rf *egg-info
Shell
#!/bin/bash # this script will launch all the needed parts for an OpenProximity2.0 stand # alone server LOG_DIR=/var/log/aircable LOG_FILE=$LOG_DIR/scanner.log source common.sh export PYTHONPATH export LOG_FILE cd serverXR echo "Starting RPC Scanner Client" if [ -z "$DEBUG" ]; then do_work manager.py localhost...
Shell
#! /bin/bash bash clean.sh python setup.py bdist_egg bash clean.sh
Shell
#! /bin/bash bash clean.sh python setup.py sdist -v bash clean.sh
Shell
#! /bin/bash bash clean.sh python setup.py bdist_egg bash clean.sh
Shell
#! /bin/bash bash clean.sh python setup.py sdist -v bash clean.sh
Shell
#!/bin/bash # this script will launch all the needed parts for an OpenProximity2.0 stand # alone server LOG_DIR=/var/log/aircable LOG_FILE=$LOG_DIR/scanner.log source common.sh export PYTHONPATH export LOG_FILE cd serverXR echo "Starting RPC Scanner Client" if [ -z "$DEBUG" ]; then do_work manager.py localhost...
Shell
rm -rf build rm -rf *egg-info
Shell
#! /bin/bash bash clean.sh python setup.py sdist bash clean.sh
Shell
#! /bin/bash bash clean.sh python setup.py bdist_egg bash clean.sh
Shell
#! /bin/bash bash clean.sh python setup.py sdist bash clean.sh
Shell
#! /bin/bash bash clean.sh python setup.py bdist_egg bash clean.sh
Shell
rm -rf build rm -rf *egg-info
Shell
#! /bin/bash bash clean.sh python setup.py sdist bash clean.sh
Shell
#! /bin/bash bash clean.sh python setup.py bdist_egg bash clean.sh
Shell
#! /bin/bash bash clean.sh python setup.py sdist bash clean.sh
Shell
#! /bin/bash bash clean.sh python setup.py bdist_egg bash clean.sh
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects # Copyright 1999, 2000 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either ve...
Shell
# ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun configure. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This program is free...
Shell
#!/bin/sh # # install - install a program, script, or datafile # This comes from X11R5 (mit/util/scripts/install.sh). # # Copyright 1991 by the Massachusetts Institute of Technology # # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without ...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain errstatus=0 dirmode="" usage="\ Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." # process command line arguments while test $# -gt 0 ; do case $1 in -h | --help...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects # Copyright 1999, 2000 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either ve...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. # Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU ...
Shell
#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. timestamp='2001-09-07' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU soft...
Shell
#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. timestamp='2001-09-04' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as pu...
Shell
#!/bin/sh # # install - install a program, script, or datafile # This comes from X11R5 (mit/util/scripts/install.sh). # # Copyright 1991 by the Massachusetts Institute of Technology # # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without ...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. # Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU ...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain errstatus=0 dirmode="" usage="\ Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." # process command line arguments while test $# -gt 0 ; do case $1 in -h | --help...
Shell
#! /bin/bash PIDFILE='/var/run/airint.pid' cleanup(){ REC=$(sdptool browse --uuid 0x1101 local | grep "Service RecHandle:" \ | sed -e "s/Service RecHandle: 0x//g") for i in $REC; do sdptool del $i done } signalhandler(){ PID=$( ps -ef | grep AIRcableSPP2 | grep -v grep | awk '{ pr...
Shell
#! /bin/bash PIDFILE='/var/run/airint.pid' cleanup(){ REC=$(sdptool browse --uuid 0x1101 local | grep "Service RecHandle:" \ | sed -e "s/Service RecHandle: 0x//g") for i in $REC; do sdptool del $i done } signalhandler(){ PID=$( ps -ef | grep AIRcableSPP2 | grep -v grep | awk '{ pr...
Shell
#! /bin/sh # # # Start/Stop airmgsd service # # # Copyright (C) 2007 Wireless Cables Inc. # Copyright (C) 2007 Naranjo, Manuel <manuel@aircable.net> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundat...
Shell
#! /bin/sh # # # Start/Stop airmgsd service # # # Copyright (C) 2007 Wireless Cables Inc. # Copyright (C) 2007 Naranjo, Manuel <manuel@aircable.net> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundat...
Shell
#!/bin/sh update-rc.d $D airmsgd remove rm /usr/bin/airmsgd
Shell
#!/bin/sh update-rc.d $D airmsgd remove rm /usr/bin/airmsgd
Shell
#!/bin/sh /etc/init.d/airmsgd stop
Shell
#!/bin/sh ln -s /usr/share/aircable/airmsgd/server.sh /usr/bin/airmsgd update-rc.d $D -s airmsgd defaults 52 48
Shell
#!/bin/sh /etc/init.d/airmsgd stop
Shell
#!/bin/sh ln -s /usr/share/aircable/airmsgd/server.sh /usr/bin/airmsgd update-rc.d $D -s airmsgd defaults 52 48
Shell
#!/bin/bash # AIRmsgd daemon # Copyright (C) 2007 Wireless Cables Inc. # Copyright (C) 2007 Naranjo, Manuel <manuel@aircable.net> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation version 2 of th...
Shell
#!/bin/sh # # AIRmsgd: generate xml (temperature) file. # Copyright (C) 2007 Wireless Cables Inc. # Copyright (C) 2007 Naranjo, Manuel <manuel@aircable.net> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software...
Shell
#!/bin/sh # # AIRmsgd: generate xml (temperature) file. # Copyright (C) 2007 Wireless Cables Inc. # Copyright (C) 2007 Naranjo, Manuel <manuel@aircable.net> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software...
Shell
#!/bin/bash # Parses the received temperature message # Copyright (C) 2007 Wireless Cables Inc. # Copyright (C) 2007 Naranjo, Manuel <manuel@aircable.net> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software F...
Shell
#!/bin/bash # Parses the received temperature message # Copyright (C) 2007 Wireless Cables Inc. # Copyright (C) 2007 Naranjo, Manuel <manuel@aircable.net> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software F...
Shell
#! /bin/bash # AIRmsgd do transaction # Copyright (C) 2007 Wireless Cables Inc. # Copyright (C) 2007 Naranjo, Manuel <manuel@aircable.net> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation versio...
Shell
#!/bin/bash # AIRmsgd daemon # Copyright (C) 2007 Wireless Cables Inc. # Copyright (C) 2007 Naranjo, Manuel <manuel@aircable.net> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation version 2 of th...
Shell
#!/bin/bash # AIRmsgd send file # Copyright (C) 2007 Wireless Cables Inc. # Copyright (C) 2007 Naranjo, Manuel <manuel@aircable.net> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation version 2 of...
Shell
#!/bin/bash # AIRmsgd daemon # Copyright (C) 2007 Wireless Cables Inc. # Copyright (C) 2007 Naranjo, Manuel <manuel@aircable.net> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation version 2 of th...
Shell
#! /bin/bash # AIRmsgd do transaction # Copyright (C) 2007 Wireless Cables Inc. # Copyright (C) 2007 Naranjo, Manuel <manuel@aircable.net> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation versio...
Shell
#!/bin/bash # AIRmsgd send file # Copyright (C) 2007 Wireless Cables Inc. # Copyright (C) 2007 Naranjo, Manuel <manuel@aircable.net> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation version 2 of...
Shell
#!/bin/sh # # AIRmsgd: generate xml (battery) file. # Copyright (C) 2007 Wireless Cables Inc. # Copyright (C) 2007 Naranjo, Manuel <manuel@aircable.net> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Fou...
Shell
#!/bin/sh # # AIRmsgd: generate xml (battery) file. # Copyright (C) 2007 Wireless Cables Inc. # Copyright (C) 2007 Naranjo, Manuel <manuel@aircable.net> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Fou...
Shell
#!/bin/bash # Parses the received batery message # Copyright (C) 2007 Wireless Cables Inc. # Copyright (C) 2007 Naranjo, Manuel <manuel@aircable.net> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Founda...
Shell
#!/bin/bash # Parses the received batery message # Copyright (C) 2007 Wireless Cables Inc. # Copyright (C) 2007 Naranjo, Manuel <manuel@aircable.net> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Founda...
Shell
#!/bin/bash # AIRmsgd daemon # Copyright (C) 2007 Wireless Cables Inc. # Copyright (C) 2007 Naranjo, Manuel <manuel@aircable.net> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation version 2 of th...
Shell
#!/bin/bash # # Update a bluetooth device # # Copyright (C) 2007 Wireless Cables Inc. # Copyright (C) 2007 Naranjo, Manuel <manuel@aircable.net> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation ...
Shell
#!/bin/bash # # Update a bluetooth device # # Copyright (C) 2007 Wireless Cables Inc. # Copyright (C) 2007 Naranjo, Manuel <manuel@aircable.net> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation ...
Shell
#!/bin/sh config() { NEW="$1" OLD="`dirname $NEW`/`basename $NEW .new`" # If there's no config file by that name, mv it over: if [ ! -r $OLD ]; then mv $NEW $OLD elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy rm $NEW fi # Otherwise, we leave the .new copy fo...
Shell
#!/bin/sh # # KwortBuild for bluez-utils # http://www.bluez.org # By Manuel Naranjo <manuel@aircable.net> # # based on SlackwareBuild for bluez-utils by # By SukkoPera <enjoy.the.silence@iol.it> # Thanks a lot to CAT for his Slackware package cration # guide (http://www.slacky.it/misto/tutorial/spunleashed.txt) # # Che...
Shell
#! /bin/bash PIDFILE='/var/run/airint.pid' cleanup(){ REC=$(sdptool browse --uuid 0x1101 local | grep "Service RecHandle:" \ | sed -e "s/Service RecHandle: 0x//g") for i in $REC; do sdptool del $i done } signalhandler(){ PID=$( ps -ef | grep AIRcableSPP2 | grep -v grep | awk '{ pr...
Shell
#!/bin/sh # # KwortBuild for bluez-utils # http://www.bluez.org # By Manuel Naranjo <manuel@aircable.net> # # based on SlackwareBuild for bluez-utils by # By SukkoPera <enjoy.the.silence@iol.it> # Thanks a lot to CAT for his Slackware package cration # guide (http://www.slacky.it/misto/tutorial/spunleashed.txt) # # Che...
Shell
#!/bin/sh config() { NEW="$1" OLD="`dirname $NEW`/`basename $NEW .new`" # If there's no config file by that name, mv it over: if [ ! -r $OLD ]; then mv $NEW $OLD elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy rm $NEW fi # Otherwise, we leave the .new copy fo...
Shell
#! /bin/bash PIDFILE='/var/run/airint.pid' cleanup(){ REC=$(sdptool browse --uuid 0x1101 local | grep "Service RecHandle:" \ | sed -e "s/Service RecHandle: 0x//g") for i in $REC; do sdptool del $i done } signalhandler(){ PID=$( ps -ef | grep AIRcableSPP2 | grep -v grep | awk '{ pr...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects # Copyright 1999, 2000, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; eit...
Shell
#! /bin/sh # libtoolT - Provide generalized library-building support services. # Generated automatically by (GNU obexftp 0.22) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 # Free Software Foundation, Inc. # ...
Shell
#! /bin/sh # Output a system dependent set of variables, describing how to set the # run time search path of shared libraries in an executable. # # Copyright 1996-2005 Free Software Foundation, Inc. # Taken from GNU libtool, 2001 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # This file is fre...
Shell
# ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun configure. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # # Th...
Shell
#!/bin/sh # # install - install a program, script, or datafile # # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, t...
Shell
#!/bin/sh # append your mobiles address to '-b' for slight speedup # optionally choose a channel with '-B' # change the '-c path' into something useful for your device # use '-G' instead of '-g' to move the pictures (copy & delete) pics=$(obexftp -b -c MMCard -c Pictures -l |grep 'file.*jpg' |cut -d '"' -f 2) echo Ge...
Shell
#!/bin/bash --norc #btchan="-B 15" retries=10 [ "X$1" == "X-version" ] && { echo "$0 version 2.0" exit 0 } overwrite=0 [ "X$1" == "X-o" ] && { overwrite=1 shift } [ $# -gt 1 ] && { echo "usage: $0 [-o] [dir]" echo "usage: $0 [-version]" exit 1 } topdir=$1 [ -z "$1" ] && topdir=~/Documents/Obexftp-backups [...
Shell
#!/bin/sh # append your mobiles address to '-b' for slight speedup # optionally choose a channel with '-B' # change the '-c path' into something useful for your device # use '-G' instead of '-g' to move the pictures (copy & delete) pics=$(obexftp -b -c MMCard -c Pictures -l |grep 'file.*jpg' |cut -d '"' -f 2) echo Ge...
Shell
#!/bin/bash --norc #btchan="-B 15" retries=10 [ "X$1" == "X-version" ] && { echo "$0 version 2.0" exit 0 } overwrite=0 [ "X$1" == "X-o" ] && { overwrite=1 shift } [ $# -gt 1 ] && { echo "usage: $0 [-o] [dir]" echo "usage: $0 [-version]" exit 1 } topdir=$1 [ -z "$1" ] && topdir=~/Documents/Obexftp-backups [...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain errstatus=0 dirmode="" usage="\ Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." # process command line arguments while test $# -gt 0 ; do case $1 in -h | --help...
Shell
#! /bin/sh # Wrapper for compilers which do not understand `-c -o'. # Copyright 1999, 2000 Free Software Foundation, Inc. # Written by Tom Tromey <tromey@cygnus.com>. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the F...
Shell