nkk71

Untitled

Oct 10th, 2016
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. # ls -v doesnt work properly
  2. # sort command doesnt have -V
  3. # use long format instead: ls cpio-* | sort -n -k 2 -t\-
  4. rm -f ramdisk.tmp
  5. for f_vsort in `ls cpio-* | sort -n -k 2 -t -`; do cat $f_vsort >> ramdisk.tmp; done
  6. cat ramdisk2 >> ramdisk.tmp
Advertisement
Add Comment
Please, Sign In to add comment