[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Copy all except one



Hi,

I want to copy everything from hda2 to hdd2, where
hdd2 is mounted as /mnt on hda2.

I think a cp recursive would cause a loop, so can i
exclude /mnt easily, or would i need to make a bash
script?



Reply to: