How do you organise home with a script?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How do you organise home with a script?
# 8  
Old 08-04-2012
Quote:
Originally Posted by Corona688
Code:
find ~/ -path '!' "/home/username/pictures' '!' -name '.*' -type f -name '*.[jJ][pP][gG]'

Looks like that first '!' should precede, not follow, -path.

Regards,
Alister
This User Gave Thanks to alister For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Homework & Coursework Questions

UNIX script home work

plz can any one help to write the script of the output provided in the pdf. There are 2 tasks A and B. (5 Replies)
Discussion started by: mohdsadik90
5 Replies

2. UNIX for Beginners Questions & Answers

organise mailing lists in email client

mr macos please bare with me i couldnt find a place to post my issue and hence m posting it here How do you organise mailing lists in your email client? How do you guys organise your mailing lists? I'm having a few issues with my set up: When I subscribe to a mailing list I add a rule in the... (2 Replies)
Discussion started by: georgekhaidas
2 Replies

3. Shell Programming and Scripting

Script to report database home in unix

Hello: I am trying to build a ksh shell script which would summarize space occupied by "product" directory under /u*/app/oracle and summarize and report the total size occupied by it in one server. Environment is this... HP UNIX 11i Korn Shell some thing like ... (1 Reply)
Discussion started by: Sam1974
1 Replies

4. Shell Programming and Scripting

Prompt home made script

Hi I made a script called mydf which puts out the amount of storage space left on the file system; df | head -2 | tail -1 | tr -s " " | cut -d" " -f4 But I would like to run it with every new prompt, so you get something like; user@5518748~$ in your prompt (5518748 being the mydf output). Its... (2 Replies)
Discussion started by: mdop
2 Replies

5. Shell Programming and Scripting

cp -p /home/* home/exp/*.date not working please help

:( ---------- Post updated at 01:51 AM ---------- Previous update was at 01:50 AM ---------- Not working ---------- Post updated at 02:04 AM ---------- Previous update was at 01:51 AM ---------- cp -p /home/* home/exp/*.`date` i am using this (4 Replies)
Discussion started by: rishiraaz
4 Replies

6. Shell Programming and Scripting

script to check for a directory in /home for all users

Following on from this post: https://www.unix.com/shell-programming-scripting/150201-simple-script-mount-folder-all-users-home.html and getting told off for bumping the thread:( Please could someone help me with a short script to check is a certain directory is present in /home for all users... (8 Replies)
Discussion started by: barrydocks
8 Replies

7. Shell Programming and Scripting

how to organise a file

I have a file with only one record and the file size would be around 80 MB. Is there a way, where I can read and write this to a file with only 80bytes in each row (3 Replies)
Discussion started by: Muthuraj K
3 Replies

8. UNIX for Dummies Questions & Answers

why doesn't this script work on my home computer?

Now it could be as simple as at work I use tsch, and at home it is bash. Warning, first post and I am a complete newbie to unix. At work, I use a simple script for updating a window when I am watching to see how a render is doing... while 1 echo --------------------------- echo ls -lrth... (1 Reply)
Discussion started by: iStealMusic
1 Replies

9. Solaris

Accessing the home directory in shell script

How can I access home directory in a shell script. I am writing a script which will delete the log files in each of the user's directory Krishan (1 Reply)
Discussion started by: krishan
1 Replies

10. Programming

How I organise my project in unix environment.

I want develop a library in solaris, I want to know where the source and header files that I coded should place at. Thank you in advance for your comment. (0 Replies)
Discussion started by: nianzhe
0 Replies
Login or Register to Ask a Question