Advertisement
Guest User

Untitled

a guest
Jul 8th, 2010
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. [bigfile]% dd if=/dev/urandom of=urandom.dat bs=$(( 1024 * 1024 )) count=100
  2. 100+0 records in
  3. 100+0 records out
  4. 104857600 bytes (105 MB) copied, 30.1808 s, 3.5 MB/s
  5. [bigfile]% mv myfile.dat urandom.dat
  6. [bigfile]% clear
  7.  
  8. [bigfile]% ls
  9. urandom.dat
  10. [bigfile]% ls -a
  11. ./ ../ urandom.dat
  12. [bigfile]% bzr init
  13. Created a standalone tree (format: 2a)
  14. [bigfile]% ls -l urandom.dat
  15. -rw-r--r-- 1 parthm parthm 104857600 2010-07-09 10:13 urandom.dat
  16. [bigfile]% du -sh .bzr
  17. 84K .bzr
  18. [bigfile]% bzr add
  19. adding urandom.dat
  20. [bigfile]% bzr ci -m "adding urandom.dat"
  21. Committing to: /home/parthm/tmp/bigfile/
  22. added urandom.dat
  23. Committed revision 1.
  24. [bigfile]% du -sh .bzr
  25. 101M .bzr
  26. [bigfile]% bzr mv urandom.dat urandom2.dat
  27. urandom.dat => urandom2.dat
  28. [bigfile]% bzr ci -m "moved file"
  29. Committing to: /home/parthm/tmp/bigfile/
  30. renamed urandom.dat => urandom2.dat
  31. Committed revision 2.
  32. [bigfile]% du -sh .bzr
  33. 201M .bzr
  34. [bigfile]% rm .bzr/repository/obsolete_packs/*
  35. zsh: sure you want to delete all the files in /home/parthm/tmp/bigfile/.bzr/repository/obsolete_packs [yn]? y
  36. zsh: no matches found: .bzr/repository/obsolete_packs/*
  37. [bigfile]% du -sh .bzr
  38. 201M .bzr
  39. [bigfile]% bzr mv urandom2.dat urandom3.dat
  40. urandom2.dat => urandom3.dat
  41. [bigfile]% bzr ci -m "another move"
  42. Committing to: /home/parthm/tmp/bigfile/
  43. renamed urandom2.dat => urandom3.dat
  44. Committed revision 3.
  45. [bigfile]% du -sh .bzr
  46. 301M .bzr
  47. [bigfile]%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement