Sponsored Content
Full Discussion: Deleting a file I don't own
Top Forums UNIX for Dummies Questions & Answers Deleting a file I don't own Post 40603 by Kelam_Magnus on Thursday 18th of September 2003 03:35:54 PM
Old 09-18-2003
/agree perderabo

I didnt think of changing the permissions on teh files and then rm them...

If you truly do have 777 on the dir... Run "ls -ld . " and post it back here... then you can simply and easily remove them...

OR at least move them to /tmp if you dont want to destroy them...
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Rename a file if I don't know its exact original name?

Hi everyone, I will be downloading a file every day with the name in this format SCA20060303_17514_IN.TXT And I need to rename it to SCA20060303_IN.TXT Where "20060303" is the current date, and the "_17514" part will always be a 5-digit number that I will NOT know beforehand. I... (9 Replies)
Discussion started by: propel
9 Replies

2. UNIX for Dummies Questions & Answers

compress/decompress don't take you back to the same file

Hi there, I have a file system.tgz. I want to make changes inside this archive but before that, I want to be sure I recompress it in the exact same format. So I did the following: me:~# # Duplicate the archive --------------------------------- me:~# cp system.tgz system.01.tgz me:~# ls -l... (4 Replies)
Discussion started by: chebarbudo
4 Replies

3. Shell Programming and Scripting

capture the last file when you don't know the all name

I have to ftp a file from a directory in Windows, I need to be able to ftp the last file that was put in the directory, the only thing I know about that file is that the 4 first digits are always the same (3520) then it is a _5(more digits), random digits, so it will be something like this... (1 Reply)
Discussion started by: rechever
1 Replies

4. Shell Programming and Scripting

Deleting files that don't contain particular text strings / more than one instance of a string

Hi all, I have a directory containing many subdirectories each named like KOG#### where # represents any digit 0-9. There are several files in each KOG#### folder but the one I care about is named like KOG####_final.fasta. I am trying to write a script to copy all of the KOG####_final.fasta... (3 Replies)
Discussion started by: kmkocot
3 Replies

5. Shell Programming and Scripting

How to copy specific files when you don't know the file name?

I hope this isn't as silly as it sounds from the title of the thread. I have software that outputs files where the name starts with a real number followed by underscore as a prefix to an input file name. These will list in the directory with the file with the smallest real number prefix as the... (5 Replies)
Discussion started by: LMHmedchem
5 Replies

6. UNIX for Advanced & Expert Users

Don't find file from foxbase 2.1.2d

Hi there, finally i'm installed Sco Foxbase 2.1.2d over my Sco Open Server 5.0.7v server. Well at this point almost is working fine, but, when i Run mi application i receive the next error: "sh: the_name_of_file": does not exist". I checked it over the Hard Disk and the file exist, the... (1 Reply)
Discussion started by: danilosevilla
1 Replies

7. Shell Programming and Scripting

Don't display file name

Hi I have a directory where i have 10 -12 files, i want to store word count in seperate file without any file name. i have written the logic which needs to be corrected filename.txt for i in /backup/temp/rajesh/12Apr2012_South *.LOG do #echo "File size of $i is" wc -l $i... (5 Replies)
Discussion started by: guddu_12
5 Replies

8. UNIX for Dummies Questions & Answers

Why I don't see the time in some file/directory?

Hi all, When doing an ls -l, why is it that I have the date and time on some of the files and directory, while others don't? :wall: Is there a way to show the date and time using a different command? OS is Linux and Solaris. Any response much appreciated. Thanks in advance. (1 Reply)
Discussion started by: newbie_01
1 Replies

9. Shell Programming and Scripting

In the script I get additional file, which I don't expect do get

I have the following script #!/bin/sh Usage () { echo "Usage: $0 <config_file>" echo "Example: ./sftp_ondemand_daily.sh /export/data/mbsesb/config/ond emand.cfg /export/data/mbsesb/config/filename.lst" exit 1 } if then Usage fi ... (6 Replies)
Discussion started by: digioleg54
6 Replies
RFMKDIR(1)							Rfio User Commands							RFMKDIR(1)

NAME
rfmkdir - make remote directories SYNOPSIS
rfmkdir [ -m mode ] [ -p ] directory... DESCRIPTION
rfmkdir provides an interface to the shift remote file I/O daemon (rfiod) for creating remote directories in mode 777 (possibly altered by umask(1)). The directory argument is either a remote directory name of the form: hostname:path or a local directory name (not containing the :/ character combination). Creation of a directory requires write permission in the parent directory. OPTIONS
The following options apply to rfmkdir: -m mode This option allows users to specify the mode to be used for the new directories. Choices for modes can be found in chmod(1). -p With this option, rfmkdir creates dirname by creating all the non-existing parent directories first. SEE ALSO
mkdir(1), umask(1), mkdir(2), rfiod(1) AUTHOR
LCG Grid Deployment Team LCG
$Date: 2005/03/31 13:13:04 $ RFMKDIR(1)
All times are GMT -4. The time now is 08:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy