Operating System - HP-UX
1829067 Members
2612 Online
109986 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