ReMove to Waste, rmw, is a bash script that functions as a Linux/Unix console recycle bin. ReMove to Waste will move files to a Waste folder or "Trash can," and it will prepend the time and date to files when reMoving them.
ReMove to Waste, rmw, is a bash script that functions as a Linux/Unix console recycle bin. ReMove to Waste will move files to a Waste folder or "Trash can," and it will prepend the time and date to files when ReMoving them. Visit the project page at http://sourceforge.net/projects/rmw/
rmw - ReMove to Waste: ChangeLog Author: Andy Alt / http://sourceforge.net/projects/rmw/ June 21, 2009 0.971 release 1. added file: install-sh (required by configure) 2. changed #!/bin/sh to #!/bin/bash in configure 3. added file: rmwrc.example (probably not needed, your rmwrc file should be auto-created when you run rmw the first time) 4. A few other minor changes and bug fixes June 20, 2009 0.97 release 1. rmw accepts the options -i, -f, -h, -u (undo), -V (version),-v (verbose) 2. Changed #!/bin/sh to #!/bin/bash (Thanks to Disillusionist) 3. Deleted install.sh, use configure and make install now 4. No longer using aliases, user must set alias or symbolic link manually May 28, 2009 0.97/SVN 1. an undo file is created each time files are ReMoved, how many undo files you want saved can be specified in the configuration file. 2. Added -u option (undo last) to more easily restore files that were rmw'ed 3. Added many more comments in the script to help explain my thought processes May 27, 2009 0.96.5/SVN 1. Creates and uses configuration file 2. Location of Waste folder can now be changed in configuration file 3. Timesrun defaults to 10, can be changed in config file 4. Updated README May 25, 2009 0.96.5/SVN 1. Now creates a configuration directory (will be used more later) and writes a count of how many times script has run. If more than 5(?) times, displays disk usage in Waste folder and zeros the counter in config directory 2. Added TODO file 3. Added /etc/bash.bashrc to install.sh 4. I added support for ReMoving symlinks two versions ago. They'll get moved to ~/.Waste/{present working directory}, not necessarily to the path they were in when ReMoved 5. Added BUGS (extra features) file May 23, 2009 rmw 0.96.4 1. Updated installation script, Bug fixes related to adding aliases 2. Updated INSTALL file 3. Minor changes to rmw-aliases.sh May 23, 2009 rmw 0.96.3 1. Will no longer prepend date string to file unless the exact same destination name exists 2. Changed date string to more human readable format. 3. Added install.sh script 4. Updated INSTALLation instructions 5. Updated README 6. Added CREDITS 7. Added a catch for certain types of invalid options passed at runtime, or options that could interfere with the readlink command (which is used within the script) rmw 0.96 1. Instead of creating a new directory and appending a date/time string for each reMoval, rmw now prepends a time/date string to each file or directory reMoved. This method will cut back on the number of directories created and make it easier to surf through reMoved files. 2. Instead of using $PWD, rmw now uses readlink to determine the absolute path of the file or directory being reMoved. After that, had to set a trap for symbolic links to prevent deleting the original file. Support for symlinks will come later. rmw 0.95.1/October 31, 2008: Bugfix - changed %k to %I in date string (spaces were preceding AM hours) Shortened APPENDSTR by using different output format rmw 0.95/October 29, 2008: Added quotes to filename vars (rmw wasn't properly handling filenames containing spaces. rmw 0.94/October 28, 2008: Added APPENDSTR to prevent overwrite warnings and prevent previously moved files from being overwritten rmw 0.93/October 21, 2008: 1. Added support for wildcards 2. Added feature to move files into ~/.Waste using PRESENTDIR variable 3. Added chmod at the end to take off unnecessary permissions. 4. Added documentation to the bash script. I'll worry about size later
rmw - ReMove to Waste: ChangeLog Author: Andy Alt / http://sourceforge.net/projects/rmw/ June 21, 2009 0.971 release 1. added file: install-sh (required by configure) 2. changed #!/bin/sh to #!/bin/bash in configure 3. added file: rmwrc.example (probably not needed, your rmwrc file should be auto-created when you run rmw the first time) 4. A few other minor changes and bug fixes June 20, 2009 0.97 release 1. rmw accepts the options -i, -f, -h, -u (undo), -V (version),-v (verbose) 2. Changed #!/bin/sh to #!/bin/bash (Thanks to Disillusionist) 3. Deleted install.sh, use configure and make install now 4. No longer using aliases, user must set alias or symbolic link manually May 28, 2009 0.97/SVN 1. an undo file is created each time files are ReMoved, how many undo files you want saved can be specified in the configuration file. 2. Added -u option (undo last) to more easily restore files that were rmw'ed 3. Added many more comments in the script to help explain my thought processes May 27, 2009 0.96.5/SVN 1. Creates and uses configuration file 2. Location of Waste folder can now be changed in configuration file 3. Timesrun defaults to 10, can be changed in config file 4. Updated README May 25, 2009 0.96.5/SVN 1. Now creates a configuration directory (will be used more later) and writes a count of how many times script has run. If more than 5(?) times, displays disk usage in Waste folder and zeros the counter in config directory 2. Added TODO file 3. Added /etc/bash.bashrc to install.sh 4. I added support for ReMoving symlinks two versions ago. They'll get moved to ~/.Waste/{present working directory}, not necessarily to the path they were in when ReMoved 5. Added BUGS (extra features) file May 23, 2009 rmw 0.96.4 1. Updated installation script, Bug fixes related to adding aliases 2. Updated INSTALL file 3. Minor changes to rmw-aliases.sh May 23, 2009 rmw 0.96.3 1. Will no longer prepend date string to file unless the exact same destination name exists 2. Changed date string to more human readable format. 3. Added install.sh script 4. Updated INSTALLation instructions 5. Updated README 6. Added CREDITS 7. Added a catch for certain types of invalid options passed at runtime, or options that could interfere with the readlink command (which is used within the script) rmw 0.96 1. Instead of creating a new directory and appending a date/time string for each reMoval, rmw now prepends a time/date string to each file or directory reMoved. This method will cut back on the number of directories created and make it easier to surf through reMoved files. 2. Instead of using $PWD, rmw now uses readlink to determine the absolute path of the file or directory being reMoved. After that, had to set a trap for symbolic links to prevent deleting the original file. Support for symlinks will come later. rmw 0.95.1/October 31, 2008: Bugfix - changed %k to %I in date string (spaces were preceding AM hours) Shortened APPENDSTR by using different output format rmw 0.95/October 29, 2008: Added quotes to filename vars (rmw wasn't properly handling filenames containing spaces. rmw 0.94/October 28, 2008: Added APPENDSTR to prevent overwrite warnings and prevent previously moved files from being overwritten rmw 0.93/October 21, 2008: 1. Added support for wildcards 2. Added feature to move files into ~/.Waste using PRESENTDIR variable 3. Added chmod at the end to take off unnecessary permissions. 4. Added documentation to the bash script. I'll worry about size later
rmw - ReMove to Waste: ChangeLog Author: Andy Alt / http://sourceforge.net/projects/rmw/ June 21, 2009 0.971 release 1. added file: install-sh (required by configure) 2. changed #!/bin/sh to #!/bin/bash in configure 3. added file: rmwrc.example (probably not needed, your rmwrc file should be auto-created when you run rmw the first time) 4. A few other minor changes and bug fixes June 20, 2009 0.97 release 1. rmw accepts the options -i, -f, -h, -u (undo), -V (version),-v (verbose) 2. Changed #!/bin/sh to #!/bin/bash (Thanks to Disillusionist) 3. Deleted install.sh, use configure and make install now 4. No longer using aliases, user must set alias or symbolic link manually May 28, 2009 0.97/SVN 1. an undo file is created each time files are ReMoved, how many undo files you want saved can be specified in the configuration file. 2. Added -u option (undo last) to more easily restore files that were rmw'ed 3. Added many more comments in the script to help explain my thought processes May 27, 2009 0.96.5/SVN 1. Creates and uses configuration file 2. Location of Waste folder can now be changed in configuration file 3. Timesrun defaults to 10, can be changed in config file 4. Updated README May 25, 2009 0.96.5/SVN 1. Now creates a configuration directory (will be used more later) and writes a count of how many times script has run. If more than 5(?) times, displays disk usage in Waste folder and zeros the counter in config directory 2. Added TODO file 3. Added /etc/bash.bashrc to install.sh 4. I added support for ReMoving symlinks two versions ago. They'll get moved to ~/.Waste/{present working directory}, not necessarily to the path they were in when ReMoved 5. Added BUGS (extra features) file May 23, 2009 rmw 0.96.4 1. Updated installation script, Bug fixes related to adding aliases 2. Updated INSTALL file 3. Minor changes to rmw-aliases.sh May 23, 2009 rmw 0.96.3 1. Will no longer prepend date string to file unless the exact same destination name exists 2. Changed date string to more human readable format. 3. Added install.sh script 4. Updated INSTALLation instructions 5. Updated README 6. Added CREDITS 7. Added a catch for certain types of invalid options passed at runtime, or options that could interfere with the readlink command (which is used within the script) rmw 0.96 1. Instead of creating a new directory and appending a date/time string for each reMoval, rmw now prepends a time/date string to each file or directory reMoved. This method will cut back on the number of directories created and make it easier to surf through reMoved files. 2. Instead of using $PWD, rmw now uses readlink to determine the absolute path of the file or directory being reMoved. After that, had to set a trap for symbolic links to prevent deleting the original file. Support for symlinks will come later. rmw 0.95.1/October 31, 2008: Bugfix - changed %k to %I in date string (spaces were preceding AM hours) Shortened APPENDSTR by using different output format rmw 0.95/October 29, 2008: Added quotes to filename vars (rmw wasn't properly handling filenames containing spaces. rmw 0.94/October 28, 2008: Added APPENDSTR to prevent overwrite warnings and prevent previously moved files from being overwritten rmw 0.93/October 21, 2008: 1. Added support for wildcards 2. Added feature to move files into ~/.Waste using PRESENTDIR variable 3. Added chmod at the end to take off unnecessary permissions. 4. Added documentation to the bash script. I'll worry about size later
ReMove to Waste, rmw, is a bash script that functions as a Linux/Unix console recycle bin. ReMove to Waste will move files to a Waste folder or "Trash can," and it will prepend the time and date to files when ReMoving them. Visit the project page at http://sourceforge.net/projects/rmw/
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?