Search Results

Search: Posts Made By: imager
1,770
Posted By imager
exec Remote server?
I use this code to remove old backupfiles on the local system.

exec('/usr/bin/sudo find /backup/daily-con* -mtime +7 -exec rm {} \;')

I would also like to run this command on a remote system...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 09:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy