[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mv --recursive
From: |
Grady Martin |
Subject: |
mv --recursive |
Date: |
Fri, 1 Jun 2018 07:08:34 -0400 |
User-agent: |
Mutt/1.10.0 (2018-05-17) |
Hello. I have two questions:
· Is there a way to recursively merge two directories with move (not
copy/delete) operations, using standard GNU utilities?
· If not, how do coreutils' maintainers feel about an -r/-R/--recursive patch
for mv?
Example:
■ ls -R
.:
new old
./new:
src
./new/src:
util.h
./old:
src README
./old/src:
main.c
■ mv -R old new
■ ls -R
.:
new
./new:
src README
./new/src:
main.c util.h
Thank you.
- mv --recursive,
Grady Martin <=