Operating System - HP-UX
1748150 Members
3603 Online
108758 Solutions
New Discussion юеВ

find, create parent dir in the same Hierarchy then mv

 
SPMK
Occasional Advisor

find, create parent dir in the same Hierarchy then mv

Hi,

to move many files matching below requirements,

find /souce -size +10 -mtime +1
./dir1/dir2/file.123
./dir/dr/dir3/2123

this lists lot of files, i need to move all files into another fs in the same dir Hierarchy . can anybody give me script for this?.

thanks in advance

2 REPLIES 2
Dennis Handly
Acclaimed Contributor

Re: find, create parent dir in the same Hierarchy then mv

SPMK
Occasional Advisor

Re: find, create parent dir in the same Hierarchy then mv

thank you for answer. as of now it is not required