14 lines
555 B
Plaintext
14 lines
555 B
Plaintext
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"
|