help me for a script, please!
Options
emau74
Posts: 53
Ally Member
Ally Member
who helps me make a script that runs every week and deletes the files of a certain folder?
0
All Replies
-
Which model are you using?0
-
NAS326, tanks!0
-
The script can be as easy as#!/bin/shrm /path/to/directory/*Make it executable (chmod a+x /path/to/script), install Tweaks, and add a cron line34 12 * * 0 /path/to/scriptif you want to execute it each sunday at 12:340
Categories
- All Categories
- 442 Beta Program
- 3K Nebula
- 234 Nebula Ideas
- 6.7K Security
- 693 USG FLEX H Series
- 365 Security Ideas
- 1.8K Switch
- 87 Switch Ideas
- 1.4K Wireless
- 56 Wireless Ideas
- 7.1K Consumer Product
- 312 Service & License
- 508 News and Release
- 97 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 5.1K FAQ
- 34 Documents
- 89 About Community
- 114 Security Highlight
Guru Member