skip to main | skip to sidebar

void(*)()

My technological notepad

sexta-feira, 5 de fevereiro de 2010

Copy things in order

New method: http://returnsvoid.blogspot.pt/2018/04/copy-files-in-order.html

first, reproduce the directory structure:

find -type d | sort | awk ' { print "mkdir \""$0"\"" } '

(copy paste or something). Then:

find | awk '{print "cp -v \""$0"\" \"/media/mp3/whatever/"$0"\"" }' | sort > a

Check a, remove a and . in the end

sh a
Publicada por Reis à(s) 04:00 1 comentário:
Mensagens mais recentes Mensagens antigas Página inicial
Subscrever: Comentários (Atom)

Search

Popular Posts

  • Afterinstall for Ubuntu 14.04 LTS
  • Multiple Live CDs in USB drive
  • Script to play a series of video files
  • Temperature in byobu
  • Rename to checksum
  • AStyle
  • Python HTTP server
  • C/C++ cleanup script
  • Encode to Coby
  • Quick check compressability

Archive

  • ►  2018 (3)
    • ►  maio (1)
    • ►  abril (2)
  • ►  2017 (1)
    • ►  setembro (1)
  • ►  2015 (2)
    • ►  setembro (1)
    • ►  abril (1)
  • ►  2014 (4)
    • ►  maio (3)
    • ►  janeiro (1)
  • ►  2012 (6)
    • ►  outubro (1)
    • ►  junho (2)
    • ►  maio (2)
    • ►  abril (1)
  • ►  2011 (5)
    • ►  janeiro (5)
  • ▼  2010 (4)
    • ►  novembro (1)
    • ►  setembro (1)
    • ▼  fevereiro (1)
      • Copy things in order
    • ►  janeiro (1)
  • ►  2009 (13)
    • ►  dezembro (2)
    • ►  novembro (3)
    • ►  setembro (1)
    • ►  agosto (3)
    • ►  julho (3)
    • ►  maio (1)