![]() |
Puppy.PuppyUsage HistoryHide minor edits - Show changes to markup September 21, 2005, at 11:17 AM
by --
Changed lines 6-8 from:
to:
Changed lines 23-31 from:
Usage: puppy [-pPtv] [-d <device>] -c <command> [args]
-p - packet header output to stderr
-P - full packet dump output to stderr
-v - verbose output to stderr
-q - quiet transfers - no progress updates
-d <device> - USB device (must be usbfs)
for example /proc/bus/usb/001/003
-c <command> - one of size, dir, get, put, rename, delete, mkdir, reboot, cancel, turbo
args - optional arguments, as required by each command=]
to:
Usage: puppy [-pPqv] [-d <device>] -c <command> [args]
-p - packet header output to stderr
-P - full packet dump output to stderr
-q - quiet transfers - no progress updates
-v - verbose output to stderr
-d <device> - USB device (must be usbfs)
for example /proc/bus/usb/001/003
-c <command> - one of size, dir, get, put, rename, delete, mkdir, reboot, cancel, turbo
args - optional arguments, as required by each command
Version: 1.12, Compiled: Sep 21 2005=]
Deleted lines 35-36:
The turbo command takes either 0 (zero) or 1 (one) as the argument to disable or enable turbo mode. Once turbo is enabled, it will persist until explicitly turned off. Changed line 66 from:
Downloading a recording from the Toppy, with turbo mode enabled.to:
Downloading a recording from the Toppy.Changed line 70 from:
puppy -t -c get 'DataFiles\Happy Tree Friends Christmas Special.rec' 'TreeFriends.rec' to:
puppy -c get 'DataFiles\Happy Tree Friends Christmas Special.rec' 'TreeFriends.rec' Changed line 76 from:
puppy -c put ProgressBarKeys.tap 'ProgramFiles\Auto Start\ProgressBarKeys.tap' to:
puppy -c put usbmon_1.3.tap 'ProgramFiles\Auto Start\usbmon.tap' Deleted line 87:
Added lines 110-125:
Turbo modeTurbo mode is not recommended because it has a severe negative impact on the performance of the Toppy. It will disable the remote control and prevent recording of shows. The turbo command takes either 0 (zero) or 1 (one) as the argument to disable or enable turbo mode. Once turbo is enabled, it will persist until explicitly turned off. Turn turbo mode on: (:table border=0 width=100% bgcolor=#eeffee:) (:cell:) puppy -c turbo 1 (:tableend:) Turn turbo mode off: (:table border=0 width=100% bgcolor=#eeffee:) (:cell:) puppy -c turbo 0 (:tableend:) September 21, 2005, at 11:03 AM
by -- Added bulk downloads
Added lines 105-110:
This will download all files from the ICE directory on the Toppy to the current directory. (:table border=0 width=100% bgcolor=#eeffee:) (:cell:) puppy -c dir ICE | awk '/^f/ { system(sprintf("puppy -c get \"ICE\\%s\" \"%s\"\n", substr($0, 49), substr($0,49))) }'
(:tableend:) August 27, 2005, at 07:20 PM
by -- new puppy options due to version 1.11
Deleted line 25:
-t - turbo mode on for file xfers Changed line 30 from:
-c <command> - one of size, dir, get, put, rename, delete, mkdir, reboot, cancel to:
-c <command> - one of size, dir, get, put, rename, delete, mkdir, reboot, cancel, turbo Added lines 34-35:
The turbo command takes either 0 (zero) or 1 (one) as the argument to disable or enable turbo mode. Once turbo is enabled, it will persist until explicitly turned off. January 27, 2005, at 02:17 PM
by --
Deleted lines 87-88:
Deleted lines 96-105:
Mounting a share from a network connected PC and transfering files directly to the PC.table border=0 width=100% bgcolor=#eeffee? cell? cd mkdir -p /mnt/smb/computername/sharename smbmount //computername/sharename /mnt/smb/computername/sharename -o username=myName,password=myPassword ln -s /mnt/smb/computername/sharename sharename puppy -c get 'DataFiles\Enterprise-4.rec' sharename/video/Enterprise/Rajiin.rec Deleted lines 101-122:
Upgrading the NSLU2 to handle large files and making new files accessible to everyone.table border=0 width=100% bgcolor=#eeffee? cell? ipkg update ipkg install busybox Put the following lines into a file named PATH=/opt/sbin:/opt/bin:$PATH export PATH umask 0 Changing file permissionsThe following will grant both read and write permissions for the named file to all users: table border=0 width=100% bgcolor=#eeffee? cell? chmod a+rw FileName January 27, 2005, at 12:39 PM
by --
Changed line 14 from:
cd /share/hdd/data/public to:
cd /share/hdd/data/public Changed line 22 from:
puppy[= to:
puppy[= Changed line 38 from:
puppy -c size[= to:
puppy -c size[= Changed line 47 from:
puppy -c dir[= to:
puppy -c dir[= Changed line 56 from:
puppy -c dir 'DataFiles'[= to:
Changed line 69 from:
puppy -t -c get 'DataFiles\Happy Tree Friends Christmas Special.rec' 'TreeFriends.rec' to:
puppy -t -c get 'DataFiles\Happy Tree Friends Christmas Special.rec' 'TreeFriends.rec' Changed line 75 from:
puppy -c put ProgressBarKeys.tap 'ProgramFiles\Auto Start\ProgressBarKeys.tap' to:
puppy -c put ProgressBarKeys.tap 'ProgramFiles\Auto Start\ProgressBarKeys.tap' Changed line 81 from:
puppy -c rename 'DataFiles\Pingu.rec' 'DataFiles\Pingu\Pingu-20.rec' to:
puppy -c rename 'DataFiles\Pingu.rec' 'DataFiles\Pingu\Pingu-20.rec' Changed lines 87-90 from:
puppy -c delete 'DataFiles\Johnny Mnemonic.rec' to:
puppy -c delete 'DataFiles\Johnny Mnemonic.rec' Changed line 96 from:
puppy -c reboot to:
puppy -c reboot Changed line 102 from:
'''[=cd to:
[=cd Changed line 106 from:
to:
Changed lines 113-135 from:
for i in *.tgd; do puppy -c put $i ProgramFiles\\$i ; done to:
for i in *.tgd; do echo Uploading $i ; puppy -c put $i ProgramFiles\\$i ; done Upgrading the NSLU2 to handle large files and making new files accessible to everyone.table border=0 width=100% bgcolor=#eeffee? cell? ipkg update ipkg install busybox Put the following lines into a file named PATH=/opt/sbin:/opt/bin:$PATH export PATH umask 0 Changing file permissionsThe following will grant both read and write permissions for the named file to all users: table border=0 width=100% bgcolor=#eeffee? cell? chmod a+rw FileName January 27, 2005, at 12:23 PM
by --
Added lines 96-105:
Mounting a share from a network connected PC and transfering files directly to the PC.table border=0 width=100% bgcolor=#eeffee? cell? cd mkdir -p /mnt/smb/computername/sharename smbmount //computername/sharename /mnt/smb/computername/sharename -o username=myName,password=myPassword ln -s /mnt/smb/computername/sharename sharename puppy -c get 'DataFiles\Enterprise-4.rec' sharename/video/Enterprise/Rajiin.rec January 23, 2005, at 07:46 AM
by --
Added lines 1-8:
Some general points
Added line 28:
-q - quiet transfers - no progress updates Changed line 31 from:
-c <command> - one of size, dir, get, put, rename, delete, reboot, cancel to:
-c <command> - one of size, dir, get, put, rename, delete, mkdir, reboot, cancel Deleted line 35:
Deleted line 44:
Deleted line 53:
Deleted line 69:
100.00% Changed lines 72-82 from:
Please remember that this is Linux and Linux is case sensitive! So Tree is not equal to tree. Also note the direction of the slash on the NSLU2 side. to:
Uploading a TAP to the Auto Start directorytable border=0 width=100% bgcolor=#eeffee? cell? puppy -c put ProgressBarKeys.tap 'ProgramFiles\Auto Start\ProgressBarKeys.tap' Moving a recording to a different directorytable border=0 width=100% bgcolor=#eeffee? cell? puppy -c rename 'DataFiles\Pingu.rec' 'DataFiles\Pingu\Pingu-20.rec' Deleted line 84:
Changed lines 90-94 from:
Downloading a tap to the Auto Start directoryto:
Added lines 96-97:
Copying multiple filesThis shell command will copy all Topfield Guide Data (.tgd) files from current directory to the Toppy. Changed line 100 from:
puppy -c put ProgressBarKeys?.tap 'ProgramFiles\Auto Start\ProgressBarKeys.tap'
to:
for i in *.tgd; do puppy -c put $i ProgramFiles\\$i ; done Added line 102:
January 13, 2005, at 10:17 PM
by --
Added line 67:
Please remember that this is Linux and Linux is case sensitive! So Tree is not equal to tree. Also note the direction of the slash on the NSLU2 side. December 30, 2004, at 10:14 PM
by --
Added line 75:
Downloading a tap to the Auto Start directoryAdded lines 77-80:
table border=0 width=100% bgcolor=#eeffee? cell? puppy -c put ProgressBarKeys?.tap 'ProgramFiles\Auto Start\ProgressBarKeys.tap'
December 26, 2004, at 12:51 AM
by --
Changed lines 1-11 from:
Just typing to:
Changing current directory to the NSLU2 public data directory.This is not really a puppy command, but it makes it easier to upload and download data from the directory where it resides, rather than having to supply long pathnames. table border=0 width=100% bgcolor=#eeffee? cell? cd /share/hdd/data/public Getting an overview of puppy command line argumentsJust typing December 26, 2004, at 12:41 AM
by --
Changed lines 1-65 from:
Describe PuppyUsage here. to:
Just typing puppy
Usage: puppy [-pPtv] [-d <device>] -c <command> [args]
-p - packet header output to stderr
-P - full packet dump output to stderr
-t - turbo mode on for file xfers
-v - verbose output to stderr
-d <device> - USB device (must be usbfs)
for example /proc/bus/usb/001/003
-c <command> - one of size, dir, get, put, rename, delete, reboot, cancel
args - optional arguments, as required by each command
Finding disk capacity and amount of free spacetable border=0 width=100% bgcolor=#eeffee? cell? puppy -c size Total 78148608 kiB 76317 MiB 74 GiB Free 28578816 kiB 27909 MiB 27 GiB Listing the top level directories on the Toppytable border=0 width=100% bgcolor=#eeffee? cell? puppy -c dir d 0 Wed Jan 1 00:00:00 2003 DataFiles d 0 Wed Jan 1 00:00:00 2003 ProgramFiles d 0 Wed Jan 1 00:00:00 2003 MP3 Listing the recordings on the Toppytable border=0 width=100% bgcolor=#eeffee? cell? puppy -c dir 'DataFiles' d 0 Thu Jan 1 09:59:59 1970 .. f 1751955456 Fri Dec 24 15:00:00 2004 3rd Rock from the Sun.rec f 624701440 Thu Dec 23 23:00:00 2004 Happy Tree Friends Christmas Special.rec f 2747820032 Tue Dec 7 23:45:00 2004 Voyager-2.rec f 7255777280 Sat Dec 25 23:25:00 2004 Johnny Mnemonic.rec Downloading a recording from the Toppy, with turbo mode enabled.This command will transfer a recorded program from the Toppy to the current directory on the NSLU2. The resulting file will be named puppy -t -c get 'DataFiles\Happy Tree Friends Christmas Special.rec' 'TreeFriends.rec' 100.00% Deleting a recordingtable border=0 width=100% bgcolor=#eeffee? cell? puppy -c delete 'DataFiles\Johnny Mnemonic.rec' |