nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

deleting files created with special characters in solaris

This is a discussion on deleting files created with special characters in solaris within the Solaris/OpenSolaris forums, part of the UNIX operating systems category; I have few files with spcial special characters in names under solaris os. I'm not able to delete those files ...


Go Back   nixCraft Linux Forum > UNIX operating systems > Solaris/OpenSolaris

Linux answers from nixCraft.


Solaris/OpenSolaris Discuss all about the SUN Solairs/OpenSolaris. You are free to talk about any issues related to Solaris administration, networking, services and other stuff, share information or ask doubts.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-01-2006, 07:07 PM
Guest
 
Posts: n/a
Default deleting files created with special characters in solaris

I have few files with spcial special characters in names under solaris os. I'm not able to delete those files

Please help me
Reply With Quote
  #2 (permalink)  
Old 11-01-2006, 10:59 PM
rockdalinux's Avatar
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 708
Thanks: 15
Thanked 19 Times in 18 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
Default

Use find command:
Code:
find . -inum 277951 -exec rm -i {} \;
Replace 277951 with actual inode number. Use ls -il command to find out inode of file.
Code:
ls -il
__________________
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
How can i create script for deleting user? Paul Shell scripting 1 02-08-2007 10:20 PM
Shell script or code for deleting a user narasimha.reddygnv Shell scripting 5 19-03-2007 10:07 AM
How can I get some specific characters of dd command output warren Shell scripting 2 24-05-2006 03:59 PM
Solaris newbie: How to install IOzone in Solaris warren Solaris/OpenSolaris 11 28-03-2006 05:45 PM
auto deleting folders if empty hinix Shell scripting 3 08-09-2005 05:02 PM


All times are GMT +5.5. The time now is 09:01 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38