the problem is the amount of files.
wehn you use the * in a shell, the sheel will REPLAE the * with the list of files, separated by spaces.
the problem ocurs because the arrar that is suposed to hold all the parameters (here, one param is one file) is not big enough to hold all the paramters.
this is simple avoided after you know the problem.
for example
i suggest you make a text file with the dir listing, and analize what you want to delete.
after that, use the ls to wile bash script to delete what you want
Hi,
We are facing problem to delete some logfiles. Explaing with example for clear understanding :
we have 2 accounts : prdpqrs (application account) & prodxyz (admin account - not root). Both of them are in same group called 'release'
While prodxyz is trying to remove a file owned by... (4 Replies)
Hi ..
I am trying to deleta a file but i cant do the error i get is
rm: hs_pdref_custom_dict_PG1_out_76_out non-existent
but when i do ls it is listing the in the directory ...
please find the filed below....
-rw-r----- 1 tsta107 users 118011030 Dec 1 04:07... (13 Replies)
We have AIX box with a share.
We have a Windows 2000 server with a mapped drive to this share.
We were able to create and delete files inside the mapped drive.
I removed the map. Changed it to a test share. Removed that map. Added it back to teh original share.
However, now we can... (3 Replies)
I am working on a unix server.
I killed all the processes with my id on the machine.
After that I tried to delete a file, I got an error:-
file not removed.Text File busy.
Deletion of directory prompted:-
Directory not empty.
Can anyone help me regarding this...???
Thanks,
Vikas (11 Replies)
Hi All,
I am facing problem deleting Source while using the rsync command.
rsync --include=*`date --date="-1 day" \+\%Y\%m\%d`* --include=*`date +\%Y\%m\%d`* --exclude=* --delete-after -auvb -e ssh USER@SERVER:SOURCE DESTINATION
However the sync happens but not the deletion of the source... (1 Reply)
I'm debugging a ksh script written by someone else that does the following:
It runs a command and redirects stdout to a file called dberror that already exists using ">". This command fails with the following error:
The file access permissions do not allow the specified action. dberror:... (1 Reply)
Hi All,
I am trying to uninstall jdk 1.5 from my Solaris 10 64 bit but some how was not successful.so tried to delete the folder of jdk from /usr but its throughing error as:
Unable to remove directory jdk: Read-only file system
Even I tried to create a dir in /usr but its not allowing me... (4 Replies)
Hi,
I have an 'empty' directory 'tmp' of which I am the owner and 777 permission. But when I try to delete the directory using rmdir or rm command, it gives error.
Command prompt snapshot:
=> uname
SunOS
... (4 Replies)
Hi
Please can someone give me a hint on this, when I list the targets, I see two o them:
#iscsiutil -p
Operational Target Information
------------------------------
Target # 1
-----------
Target Name : iqn.1992-08.com.netapp:sn.142241859
Target Alias ... (2 Replies)
heapdump716960.1416296627.txt
heapdump716960.1416299494.txt
heapdump716960.1416302375.txt
trying to delete the above files
root@atec:/oratec/prodcomn/temp>rm heap*.*.txt
ksh: /usr/bin/rm: 0403-027 The parameter list is too long.
root@atec:/oratec/prodcomn/temp>rm heap*.txt... (2 Replies)
Discussion started by: filosophizer
2 Replies
LEARN ABOUT HPUX
delete_clearinghouse
delete clearinghouse(1m) delete clearinghouse(1m)NAME
delete clearinghouse - Deletes the specified clearinghouse from the local server system
SYNOPSIS
cdscp delete clearinghouse clearinghouse-name
ARGUMENT
The full name of the clearinghouse.
DESCRIPTION
The delete clearinghouse command deletes a clearinghouse from the local server system. CDS does not permit you to delete a cleared clear-
inghouse. Before you can delete a cleared clearinghouse, you must recreate it using the create clearinghouse command.
The delete clearinghouse command automatically deletes all read-only replicas from a clearinghouse. CDS does not permit you to delete a
clearinghouse that contains a master replica. See the DCE Directory Service module of the DCE Administration Guide for more information
about handling master replicas when deleting a clearinghouse.
Permissions Required
You must have write and delete permission to the clearinghouse and administer permission to all directories that store replicas in the
clearinghouse. The server principal needs delete permission to the associated clearinghouse object entry and administer permission to all
directories that store replicas in the clearinghouse.
NOTES
It is recommended that you delete all replicas except the root before issuing this command.
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE.
EXAMPLE
The following command deletes a clearinghouse named /.:/sales/Orion_CH from the local server system: cdscp> delete clearinghouse
/.:/sales/Orion_CH
RELATED INFORMATION
Commands: clear clearinghouse(1m), create clearinghouse(1m), list clearinghouse(1m), set cdscp preferred clearinghouse(1m), show clearing-
house(1m), show cdscp preferred clearinghouse(1m)
Books: DCE Administration Guide
delete clearinghouse(1m)