...lapse:~/debian|master|debian.ch%% zmodload zsh/files lapse:~/debian|master|debian.ch%% which mvmv: shell built-in command lapse:~/debian|master|debian.ch%% mv /tmp/debian.ch_T-Shirt_20080422-poll.png ....> Note that this mv will not movefilesacross devices. Historical ... task as it involves recreating the files as they were (permissions, ownership, ACLs,...
... a future version? } } Note that this mv will not movefilesacross devices. Historical } versions of mv, when actual renaming is impossible, fall back on copying } and removing files; if this behaviour is desired, use cp and rm ..." is (intentionally) NOT one of the commands supplied by the zsh/files module, so changing mv means implementing cp.
...lapse:~/debian|master|debian.ch%% zmodload zsh/files lapse:~/debian|master|debian.ch%% which mvmv: shell built-in command lapse:~/debian|master|debian.ch%% mv /tmp/debian.ch_T-Shirt_20080422-poll.png ...version? Note that this mv will not movefilesacross devices. Historical versions ... fall back on copying and removing files; if this behaviour is desired, use...
... (verbose), the -n option for ln, the -u option for mv, and mvacross devices. For zsh/files it's not quite as simple as adding a z in front of the ... are not really important for me since it is easy to write a shell function like: rm() { command rm $@ } or rm() { builtin rm $@ } -- Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17....
...> Most people shouldn't need to use it. I use it *by default* just because of the Linux kernel bug^Wlimitation concerning the argument list (I often exceed it). But perhaps I should write my own shell function as a wrapper to coreutils and use xargs or zargs when necessary. -- Vincent Lefèvre <vincent@vinc17....
...one of the commands supplied by the zsh/files module, so changing mv means implementing cp. What, if I may ... is the purpose of zsh/files? Its primary purpose has been ... on a system where the shell is working but nothing much ... fix what needs fixing. Moving things between file systems typically isn'... load of other stuff the shell doesn't provide). -- Peter Stephenson ...
... issue. Also note that "cp" is (intentionally) NOT one of the commands supplied by the zsh/files module, so changing mv means implementing cp. What, if I may ask, is the purpose of zsh/files? -- .''`. martin f. krafft <madduck@debian.org> : :' : proud Debian developer, author, administrator, and user ...
also sprach Vincent Lefevre <vincent@vinc17.org> [2008.05.07.2350 +0100]: rm() { command rm $@ } "$@" :_) -- .''`. martin f. krafft <madduck@debian.org> : :' : proud Debian developer, author, administrator, and user `. `'` http://people.debian.org/~madduck - http://debiansystem.info `- Debian - when you have better things to do than fixing systems "one should never do...