skip to main
|
skip to sidebar
Shifted Bytes
Helpful bits and bytes
Pages
Home
Linux
cPanel
PHP
Cisco
Juniper
Saturday, December 18, 2010
Find And Delete All Files Owned By A User In The Current Directory
find . -user $username -delete
Some older versions of find don't support -delete so instead use:
find . -user $username -exec rm -rf {} \;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Categories
Active Directory
(1)
Apache
(1)
Arrays
(2)
Audio
(1)
BareMetal
(3)
Bash
(2)
BGP
(1)
Bootstrap
(1)
Centos
(4)
Cisco
(8)
CLI
(8)
CMDLET
(1)
Command Line
(38)
cPanel
(34)
CSF
(1)
cURL
(1)
DATE/TIME
(4)
DirectAdmin
(12)
DNS
(5)
DOM
(3)
E-Mail
(13)
Exchange
(1)
Exim
(4)
File System
(22)
Firewall
(11)
Forms
(1)
Fortinet
(1)
FrontPage
(1)
FrontPage Extensions
(1)
Gems
(1)
GlobalSign
(1)
Hardware
(3)
HTML
(1)
HTTP
(1)
Installatron
(1)
IPmonitor
(1)
IPtables
(2)
IPv6
(3)
JavaScript
(1)
Juniper
(2)
Junos
(2)
LDAP
(1)
Linux
(128)
Log
(1)
Memcached
(2)
MSSQL
(1)
MySQL
(14)
Networking
(40)
Node.js
(1)
Numbers
(1)
OneClickSSL
(1)
OpenVPN
(2)
OpenVZ
(2)
OS X
(1)
OSX
(3)
Package Management
(1)
Parallels
(5)
Passenger
(1)
PEAR
(1)
Perl
(2)
PHP
(27)
Plesk
(5)
PostgreSQL
(2)
Power Shell
(1)
Qmail
(1)
Quota
(1)
RAID
(4)
Rails
(1)
RDP
(2)
reCAPTCHA
(1)
REGEX
(2)
Ruby
(2)
Security
(37)
Sendmail
(1)
ServerCP
(1)
SimpleXML
(1)
SOAP
(1)
Solarwinds
(1)
SolusVM
(1)
SSL
(8)
Strings
(3)
Sublime Text
(1)
System Administration
(3)
Telnet
(1)
Terminal Services
(1)
Twitter Bootstrap
(1)
Version
(7)
Virtualization
(5)
Virtuozzo
(2)
VPS
(1)
WHMXtra
(1)
Windows
(14)
Windows Server
(8)
Windows Server 2008
(3)
Wordpress
(2)
Xen
(3)
XML
(5)
XPATH
(5)
XSL
(2)
Zamfoo
(1)
Zervex
(1)
ZMV
(3)
ZSH
(3)
Favorites
INOC Data Centers
GitHub
Bootstrap
HomeBrew
PHP Builder
Sublime Text
CentOS Linux
Tech Valley Ruby Brigade
No comments:
Post a Comment