Aktywne Wpisy

lubie-sernik +536
Treść przeznaczona dla osób powyżej 18 roku życia...

lord-nihilus +204
Treść przeznaczona dla osób powyżej 18 roku życia...
Skopiuj link
Skopiuj link

Regulamin
Reklama
Kontakt
O nas
FAQ
Osiągnięcia
Ranking
Gdy próbuję użyć
find scripts/logs -type f -mtime +14 -exec rm -rf {}Wyrzuca mi błąd:
find: missing argument to '-exec'Co robię źle?
Może tak?
Execute command; true if 0 status is returned. All following arguments to find are taken to be arguments to the command until an argument
consisting of
;' is encountered. The string{}' is replaced by the current file name being processed everywhere it occurs in the argu‐ments to the command, not just in arguments where it is alone, as in some versions of find. Both
Dla potomnych:
Pamiętajcie o
\;na końcu.find scripts/logs -type f -mtime +14 -exec rm -rf {} \;