scripts/mvparent
Matteo Cypriani 7f0fdb7795 mv_here: rename in mvparent, complete + add README
mv_here.sh renamed in mvparent.sh
Complete the script (handles hidden files, more tests and error
reporting, add the WTFPL header).
Add the associated README.
2010-01-06 22:39:03 +01:00
..
README mv_here: rename in mvparent, complete + add README 2010-01-06 22:39:03 +01:00
mvparent.sh mv_here: rename in mvparent, complete + add README 2010-01-06 22:39:03 +01:00

README

mvparent.sh was originally written to be integrated in the ROX-Filer
directory "Send to" menu (and was named mv_here.sh). It moves the
contents of a directory into its parent directory, then deletes the
empty directory.

To install this script, just copy it in a directory which is in the
PATH, e.g. /usr/local/bin:
  cp mvparent.sh /usr/local/bin

If you want to integrate it in ROX-Filer:
  mkdir -p ~/.config/rox.sourceforge.net/SendTo/.inode_directory
  cd ~/.config/rox.sourceforge.net/SendTo/.inode_directory
  ln -s `which mvparent.sh` "Move here"