OFF TOPIC: directory tree script file problem

Steve Searle steve at stevesearle.com
Wed May 5 11:19:16 UTC 2004


Around 11:47am on Wednesday, May 05, 2004 (UK time), Mick Mearns scrawled:

> I want to copy the directory structure of /mnt/DOWNLOADS into
> /home/mick
> without any files.

Quick and dirty solution.  Copy /mnt/DOWNLOADS recursively.  Use find to
find and delete all files (but not directories).  This assumes you have
enough disk space to do the copy.

Cheers

Steve

-- 
 
(o<     www.stevesearle.com
//\     Powered by Fedora Core
V_/_    No MS products were used in the creation of this message
 
 12:16pm  up 1 day, 21:15,  1 user,  load average: 0.43, 0.18, 0.09
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20040505/77ae418e/attachment-0002.bin 


More information about the users mailing list