Sintax of Shell Script Linux ARM

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Sintax of Shell Script Linux ARM

Postby bossi » Mon Apr 22, 2013 12:50 am

Hello Folks

I'm trying to re-write some scripts that I use to do some tasks and apparently this version of linux works differently....
Can some one tell me what is wrong with this.......

find /mnt/somewhere/ -type f -name *.avi -mtime +35 -exec rm -v > /home/deleted.txt{} \;

I just get an error with -exec and.......I dont know why?
bossi
 
Posts: 1
Joined: Sun Apr 21, 2013 6:38 pm

Re: Sintax of Shell Script Linux ARM

Postby moonman » Mon Apr 22, 2013 1:22 am

It should be the same as any other linux. What error exactly do you get
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 18 guests