help me for a script, please!
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
- 164 Beta Program
- 1.7K Nebula
- 86 Nebula Ideas
- 62 Nebula Status and Incidents
- 4.7K Security
- 236 Security Ideas
- 1.1K Switch
- 50 Switch Ideas
- 907 WirelessLAN
- 27 WLAN Ideas
- 5.3K Consumer Product
- 172 Service & License
- 294 News and Release
- 65 Security Advisories
- 14 Education Center
- 911 FAQ
- 399 Nebula FAQ
- 249 Security FAQ
- 90 Switch FAQ
- 100 WirelessLAN FAQ
- 18 Consumer Product FAQ
- 55 Service & License FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 68 About Community
- 51 Security Highlight
Consumer Product Help Center
FAQ
Guru Member