public function move($options)
    {
        $to = null;
        if (is_string($options)) {
            $to = $options;
            $options = (array)$options;
        }
        $options += ['to' => $to, 'from' => $this->path, 'mode' => $this->mode, 'skip' => [], 'recursive' => true];

        if ($this->copy($options) && $this->delete($options['from'])) {
            return (bool)$this->cd($options['to']);
        }

        return false;
    }
public function move($options)
    {
        $to = null;
        if (is_string($options)) {
            $to = $options;
            $options = (array)$options;
        }
        $options += ['to' => $to, 'from' => $this->path, 'mode' => $this->mode, 'skip' => [], 'recursive' => true];

        if ($this->copy($options) && $this->delete($options['from'])) {
            return (bool)$this->cd($options['to']);
        }

        return false;
    }
public function move ( $ options ) { $ to = null ; if ( is_string ( $ options ) ) { $ to = $ options ; $ options = ( array ) $ options ; } $ options += [ 'to' => $ to , 'from' => $ this -> path , 'mode' => $ this -> mode , 'skip' => [ ] , 'recursive' => true ] ; if ( $ this -> copy ( $ options ) && $ this -> delete ( $ options [ 'from' ] ) ) { return ( bool ) $ this -> cd ( $ options [ 'to' ] ) ; } return false ; }
Recursive directory move.

### Options

- `to` The directory to copy to.
- `from` The directory to copy from, this will cause a cd() to occur, changing the results of pwd().
- `chmod` The mode to copy the files/directories with.
- `skip` Files/directories to skip.
- `scheme` Folder::MERGE, Folder::OVERWRITE, Folder::SKIP
- `recursive` Whether to copy recursively or not (default: true - recursive)

@param array|string $options (to, from, chmod, skip, scheme)
@return bool Success
Recursive directory move .