Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [bigfile]% dd if=/dev/urandom of=urandom.dat bs=$(( 1024 * 1024 )) count=100
- 100+0 records in
- 100+0 records out
- 104857600 bytes (105 MB) copied, 30.1808 s, 3.5 MB/s
- [bigfile]% mv myfile.dat urandom.dat
- [bigfile]% clear
- [bigfile]% ls
- urandom.dat
- [bigfile]% ls -a
- ./ ../ urandom.dat
- [bigfile]% bzr init
- Created a standalone tree (format: 2a)
- [bigfile]% ls -l urandom.dat
- -rw-r--r-- 1 parthm parthm 104857600 2010-07-09 10:13 urandom.dat
- [bigfile]% du -sh .bzr
- 84K .bzr
- [bigfile]% bzr add
- adding urandom.dat
- [bigfile]% bzr ci -m "adding urandom.dat"
- Committing to: /home/parthm/tmp/bigfile/
- added urandom.dat
- Committed revision 1.
- [bigfile]% du -sh .bzr
- 101M .bzr
- [bigfile]% bzr mv urandom.dat urandom2.dat
- urandom.dat => urandom2.dat
- [bigfile]% bzr ci -m "moved file"
- Committing to: /home/parthm/tmp/bigfile/
- renamed urandom.dat => urandom2.dat
- Committed revision 2.
- [bigfile]% du -sh .bzr
- 201M .bzr
- [bigfile]% rm .bzr/repository/obsolete_packs/*
- zsh: sure you want to delete all the files in /home/parthm/tmp/bigfile/.bzr/repository/obsolete_packs [yn]? y
- zsh: no matches found: .bzr/repository/obsolete_packs/*
- [bigfile]% du -sh .bzr
- 201M .bzr
- [bigfile]% bzr mv urandom2.dat urandom3.dat
- urandom2.dat => urandom3.dat
- [bigfile]% bzr ci -m "another move"
- Committing to: /home/parthm/tmp/bigfile/
- renamed urandom2.dat => urandom3.dat
- Committed revision 3.
- [bigfile]% du -sh .bzr
- 301M .bzr
- [bigfile]%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement