Delete Photos Script


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Delete Photos Script
# 8  
Old 04-15-2011
Code:
find . -name "*.jpg" |awk -F - '++a[$1]>10'  |xargs rm

Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script needed to delete to the list of files in a directory based on last created & delete them

Hi My directory structure is as below. dir1, dir2, dir3 I have the list of files to be deleted in the below path as below. /staging/retain_for_2years/Cleanup/log $ ls -lrt total 0 drwxr-xr-x 2 nobody nobody 256 Mar 01 16:15 01-MAR-2015_SPDBS2 drwxr-xr-x 2 root ... (2 Replies)
Discussion started by: prasadn
2 Replies

2. Shell Programming and Scripting

Script for creating symbolic links to my photos (*.JPG)

Hi, I have all my pictures as *.JPG and *.CR2 in the following folder structure: /media/a_2TB/pictures/year/year-month-day-hour/picture*.* But sometimes I added a subdirectory --> /media/a_2TB/pictures/year/year-month-day-hour/suba/picture*.*... (3 Replies)
Discussion started by: 8200
3 Replies

3. Red Hat

Need Script to ZIP/SAVE & then DELETE Log file & DELETE ZIPS older than 12 months

ENVIROMENT Linux: Fedora Core release 1 (Yarrow) iPlanet: iPlanet-WebServer-Enterprise/6.0SP1 Log Path: /usr/iplanet/servers/https-company/logs I have iPlanet log rotation enabled rotating files on a daily basis. The rotated logs are NOT compressed & are taking up too much space. I... (7 Replies)
Discussion started by: zachs
7 Replies

4. UNIX for Advanced & Expert Users

How can I convert photos extension?

Hi all I am working in UNIX O.S and I want to transfer any photos from UNIX O.S to Windows O.S . can any one tell me how can I do this ? (3 Replies)
Discussion started by: bintaleb
3 Replies
Login or Register to Ask a Question
CHEESE(1)							   User Commands							 CHEESE(1)

NAME
cheese - tool to take pictures and videos from your webcam SYNOPSIS
cheese [option...] DESCRIPTION
cheese uses your webcam to take photos and videos, applies fancy special effects and lets you share the fun with others. It was written as part of Google's 2007 Summer of Code lead by daniel g. siegel and mentored by Raphael Slinckx. Under the hood, Cheese uses GStreamer to apply fancy effects to photos and videos. With Cheese it is easy to take photos of you, your friends, pets or whatever you want and share them with others. After the success of the Summer of Code, the development continued and we are still looking for people with nice ideas and patches ;) INVOCATION
cheese takes a list of options as arguments. Options --wide, -w Start in wide mode, with the thumbnails to the right of the video preview. --device=DEVICE, -d DEVICE Use the supplied DEVICE as the video capture device. --fullscreen, -f Start in fullscreen mode. --help, -h Print brief help and exit. --version, -v Print the version and exit. SEE ALSO
Cheese help manual AUTHOR
cheese was written by Daniel G. Siegel <dgsiegel@gnome.org>, Jaap A. Haitsma <jaap@haitsma.org>, Filippo Argiolas <fargiolas@gnome.org>, Yuvaraj Pandian T <yuvipanda@yuvi.in>, Luciana Fujii Pontello <luciana@fujii.eti.br> and David King <amigadave@amigadave.com>. This manual page was written by David King <amigadave@amigadave.com>. Cheese 3.8.2 06/10/2014 CHEESE(1)