|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
Hello,
1) I have a file with the names of the files inside. 2) I need to make the rm command to use that file as an input of files to delete. Here is I what I tried but it did not work: cat rm_list.txt > rm It is probably a simple thing to do but I'm not very good with connecting I/O from commands yet. Please show me how if you know Reagards, sqdProgrammer ![]() |
|
#2
|
|||
|
|||
|
Almost had it right
Almost had it...
Uuse the following from the command line: for x in `cat rm_list.txt` do rm $x done (Just in case you're not aware, those are ticks, the symbol on the same key as the tilde, not single quotes) Let it run, your files will be gone. Hope this helps. -Gary |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Removing files in UNIX |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|