User Tools

Site Tools


informatica:linux:bluetooth

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
informatica:linux:bluetooth [2010/06/21 17:48] 87.222.66.70informatica:linux:bluetooth [2011/04/22 21:18] 79.158.16.98
Line 237: Line 237:
 Disconnecting..-done Disconnecting..-done
 </code> </code>
 +
  
  
Line 280: Line 281:
  
 http://lists.alioth.debian.org/pipermail/pkg-bluetooth-maintainers/2008-July/001636.html http://lists.alioth.debian.org/pipermail/pkg-bluetooth-maintainers/2008-July/001636.html
 +
 +===== Guión para copiar archivos =====
 +
 +Pulir una miaja
 +
 +<code>
 +#!/bin/bash
 +
 +directorio="100MEDIA"
 +mac="00:17:83:ED:AD:14"
 +
 +rm /tmp/mobil.txt; for i in `obexftp  -c $directorio -l`;\
 +do name="` echo \"$i\" | grep name | sed 's/"//g' | sed 's/^name=//g' `";\
 +echo $name >> /tmp/mobil.txt; done; \
 +echo `cat /tmp/mobil.txt|sed 's/\n//g'` > /tmp/mobil2.txt; sleep 1;\
 +obexftp -b $mac -g $directorio/`cat /tmp/mobil2.txt`
 +</code>
informatica/linux/bluetooth.txt · Last modified: 2023/01/27 22:05 by javi