Difference between revisions of "Main Page/IT/Misc"

From Lewis Consultancy Wiki
< Main Page‎ | IT
Jump to navigationJump to search
(Created page with "=Save tracks on a USB stick so that they play in order on some inferior Pioneer Car Stereo equipment= First copy all contact to a temporary location ... let's say /var/tracks...")
 
Line 1: Line 1:
 
=Save tracks on a USB stick so that they play in order on some inferior Pioneer Car Stereo equipment=
 
=Save tracks on a USB stick so that they play in order on some inferior Pioneer Car Stereo equipment=
  
First copy all contact to a temporary location ... let's say /var/tracks. Make sure all tracks are numbered in such a way that that they list correctly numerically i.e. 01..02..//..10..11 etc
+
First copy all contact to a temporary location ... let's say /var/tracks. Make sure all tracks are numbered in such a way that that they list in correct order  numerically i.e. prefix with 01..02..//..10..11 etc
  
The destination location for this command is /media/stick/
+
The destination location for this example is /media/stick/
  
 
<pre>find /var/tracks/  | sort -n  | while read fn; do cp --parents -f "$fn" /media/usb-stick/; sleep 1; done</pre>
 
<pre>find /var/tracks/  | sort -n  | while read fn; do cp --parents -f "$fn" /media/usb-stick/; sleep 1; done</pre>

Revision as of 11:27, 13 November 2014

Save tracks on a USB stick so that they play in order on some inferior Pioneer Car Stereo equipment

First copy all contact to a temporary location ... let's say /var/tracks. Make sure all tracks are numbered in such a way that that they list in correct order numerically i.e. prefix with 01..02..//..10..11 etc

The destination location for this example is /media/stick/

find /var/tracks/  | sort -n  | while read fn; do cp --parents -f "$fn" /media/usb-stick/; sleep 1; done