scripts/mvparent
Matteo Cypriani 7896c2ce60 [mvparent] Get rid of useless error messages
Test the presence of files in the directory before to call mv, in order
to avoid useless mv error message.
2012-10-01 15:31:56 +02:00
..
README mv_here: rename in mvparent, complete + add README 2010-01-06 22:39:03 +01:00
mvparent.sh [mvparent] Get rid of useless error messages 2012-10-01 15:31:56 +02: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"