mv is the wrong tool for this job; you want cp and then rm . Since you're moving the file to another filesystem this is exactly what mv is doing behind the scenes anyway, except that mv is also trying to preserve file permission bits and owner/group information. This is because mv would preserve that information if it were moving a file within the same filesystem and mv tries to behave the same way in both situations. Since you don't care about the preservation of file permission bits and owner/group information, don't use that tool. Use cp --no-preserve=mode and rm instead. But if you don't care about the warning, mv actually does move the files before complaining ownership problem.
We are Perfect Growth Studies 100% Placement,N0.1
ReplyDeleteProviding Online SEO Training in Delhi,
Digital Marketing#18000, SEO#7000, SMO#7000, PPC#7000
Industry Training. Digital Marketing Course in Delhi
Very well given advice with wonderful and useful information.
ReplyDeleteVery good blog sir very nice site. Thank you for sharing.
Good job Sir this is really very Nice, Informative and Helpful Guidance post.
Rest We are Perfect Growth Studies, Providing Digital Marketing,
SEO Course Training Institute in Delhi
for Past 10 Successfull Years.
ReplyDeleteThanks for sharing this blog..
seo course in delhi