Showing that something is deleteing


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Showing that something is deleteing
# 1  
Old 05-06-2003
Showing that something is deleteing

Hi there,

I have a scritp that is clearing out old files from some directories, rather than echoing the name of the file when it gets deleted i want to echo a ". " I have tried to just echo it after the deletion but it lists like this
.
.
.
.

I want to show it like this
. . . . . . . . . . . . . .
. . . . . . . . . . . . . .

I just want to show it is deleting something and not got stuck.

Any ideas? i'm sure there are some.

Cheers and Beers,
# 2  
Old 05-06-2003
You can use the -n option of the echo command:

echo -n "."
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Showing error

if ; then rm -rf "${x}"_"${y}"_abc_pqr.dat error: `then' unmatchedCan anyone please help me in correcting it. Please use code tags next time for your code and data. Thanks (2 Replies)
Discussion started by: D_Sethi
2 Replies

2. UNIX for Dummies Questions & Answers

Showing Clock

Is it possible to display the clock (timing) on the screen all the time. (3 Replies)
Discussion started by: vino.paal
3 Replies

3. UNIX for Dummies Questions & Answers

deleteing duplicate lines sing uniq while ignoring a column

I have a data set that has 4 columns, I want to know if I can delete duplicate lines while ignoring one of the columns, for example 10 chr1 ASF 30 15 chr1 ASF 20 5 chr1 ASF 30 6 chr2 EBC 15 4 chr2 EBC 30 ... I want to know if I can delete duplicate lines while ignoring column 1, so the... (5 Replies)
Discussion started by: japaneseguitars
5 Replies

4. Shell Programming and Scripting

Deleteing one character after an special character

I have below line in a unix file, I want to delete one character after "Â". 20091020.Non-Agency CMO Daily Trade Recap Â~V Hybrids The result should be : 20091020.Non-Agency CMO Daily Trade Recap  Hybrids i dont want to use "~V" anywhere in the sed command or any other command, just remove... (1 Reply)
Discussion started by: mohsin.quazi
1 Replies

5. AIX

5.2 who not showing all login

I have 1 box running 5.2 and another running 5.3. Both use the NIS accounts and NFS home directories. Users can telnet on to both and 'who' displays the login. However when users run xterms using a remote X server (e.g. Exceed), by telnetting then running /usr/bin/X11/xterm -d xxx.xxx.xxx.xxx:0 ... (1 Reply)
Discussion started by: spitzie
1 Replies

6. Shell Programming and Scripting

deleteing

Dear Experts , I have 15 files and each files contains the data as mentioned below fileA name company salary job location nationality 12121 234234 13123 12121 234234 13123 12121 234234 13123 12121 234234 13123 12121 234234 13123 12121 234234 13123 12121 234234 13123... (4 Replies)
Discussion started by: shary
4 Replies

7. AIX

san lv showing old fs

Hi All, I have been working with two AIX with san and this is the first I got this minor problem on my third AIX. The san/hdisk was recreated so many times because of this problem. When I created a new vg and fs. The fs will be mounted/unmounted properly but if I query the fs on a vg with... (2 Replies)
Discussion started by: itik
2 Replies

8. Linux

Deleteing archived files

Hi, I need to remove files that are in archive directory and which are old. I can make use of find command to search for files which are older by number of days. But the problem is there are sub directories in directory 'archive' like 'sub1' 'sub2' 'sub3'. Now all files which are in... (4 Replies)
Discussion started by: ramu_indian
4 Replies

9. Post Here to Contact Site Administrators and Moderators

Posts not showing up

I received the following e-mail notification, but neither this post nor my previous post is showing up. ---------------------------------------------------------------- patwa has just replied to a thread you have subscribed to entitled - Waiting between commands - in the UNIX for Dummies... (1 Reply)
Discussion started by: cfajohnson
1 Replies

10. UNIX for Dummies Questions & Answers

deleteing .doc file

hi i ama dunmmies in Unix. I created a .doc file and copied it to unix via FTP as a ,doc file itself i want to delete that file , i tried with rm command it does not work file name is DDL's.doc plz help :confused: (2 Replies)
Discussion started by: agarwalniru
2 Replies
Login or Register to Ask a Question