Search Results

Search: Posts Made By: rpalmer68
6,255
Posted By rpalmer68
Glad I could be interesting :) I'm totally...
Glad I could be interesting :)

I'm totally new to Linux, so haven't tampered at all. Whatever is on this box is whatever is the standard release for the 2.1.09 firmware on a Thecus N5200Pro NAS...
6,255
Posted By rpalmer68
SUCCESS!!! You're brilliant!!:) Many...
SUCCESS!!! You're brilliant!!:)


Many thanks
Richard
6,255
Posted By rpalmer68
Well the toRemove file looks like it's correct...
Well the toRemove file looks like it's correct with a list of paths/files, but I'm getting an error;


So I guess that answers that question - no "line" command.

Here's what I have in /bin/,...
6,255
Posted By rpalmer68
This gives the same token error I'm afraid. ...
This gives the same token error I'm afraid.

I'm calling the script with "sh delete30days.sh", I assume this is the correct way to call it?

How do I get the FIND version? find -? gives this;
6,255
Posted By rpalmer68
Thanks for the quick response, the above code...
Thanks for the quick response, the above code gives this error;



And this code
find /raid0/data/nas_backup/media_deleted -mtime +30 -exec /bin/rm -f {} + \;
gives the same error


Cheers...
6,255
Posted By rpalmer68
'unexpected token' error using FIND in script to delete old files
Hi,

I am compete linux noob, but have managed to setup my Thecus N5500 to rsync to my N5200Pro to do automatic backups each night.

The rsync script also moves any files deleted from the N5500...
Showing results 1 to 6 of 6

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