Results 1 to 1 of 1
hello,
i need a command that will access a windows partition and remove everything in temp directories but not remove the directories. will this work?:
# find /mnt/hda1 -iname "temp" ...
- 01-19-2007 #1Just Joined!
- Join Date
- Nov 2006
- Posts
- 90
need to remove temps
hello,
i need a command that will access a windows partition and remove everything in temp directories but not remove the directories. will this work?:
# find /mnt/hda1 -iname "temp" -exec cd {} && rm ./* -rvf && mkdir temp


Reply With Quote