Questions tagged [deleting]

42 questions
2
votes
7 answers

Massive amount of subfolders and long subfolders. How can I delete all of them?

We have a little problem here. We have a share with the backup of all the server's offices, Its a really big share with more than 8.000.000 files. Our users usually give long names to the folders they create, and then make subfolders (long too) and…
Carlos Garcia
  • 318
  • 3
  • 12
2
votes
2 answers

Can not access DfsrPrivate

I've set up DFS-R between three servers, and so far, it is replicating everything as its supposed to. The problem is, I can not access the DfsrPrivate folder. Where is it located? So far I see the link/shortcut from within my replicated folder. But…
psalomonsen
  • 147
  • 1
  • 1
  • 8
1
vote
2 answers

How to have rsync delete destination files 6 months after they have been deleted at source?

Working on Debian 10. Seeing that rdiff-backup has stopped development for quite some time, I'd like to move on my backup-needs to rsync. However, there is one feature of rdiff-backup that I am not prepared to give up: --remove-older-than 6M That…
1
vote
5 answers

Quickest way to scheduled file deletion on Windows

I have a windows server machine that takes daily backup daily and each daily backup takes 1.5gb thus every night, I want to remove backup files that are older than 1 week. This is how my back up files are organised: backup.20091118.gz.gpg , as you…
Hellnar
  • 143
  • 1
  • 6
1
vote
2 answers

query the deletion progress

I am deleting approximately 4 million files from a partition and despite the size of all folders is around 350GB is taking a huge amount of time, over 4 hours now. Is there a way or a command to verify the status of the progression from CLI? I am…
user402939
  • 11
  • 1
1
vote
1 answer

zombie lxc swap file: text file busy but no pid

I have a server running Ubuntu 12.04.5 LTS (Precise Pangolin). On that server I created a new Linux container: $ sudo lxc-create -n mycontainer After a while I decided to get rid of this container: $ sudo lxc-destroy -n mycontainer However I got…
igal
  • 144
  • 1
  • 10
1
vote
0 answers

Rsync does not delete destination files [rsync protocol / module]

An automatic backup script executes the following rsync command to sync a local directory tree with a remote one: env RSYNC_PASSWORD=$rsync_password rsync -aqrxz --delete --timeout=30 \ "${rsync_username}"@"${rsync_host}"::"${rsync_module}" ./…
davide
  • 162
  • 8
1
vote
1 answer

Can I safely delete old user folders in Windows Server 2003?

I have a Windows Server 2003 machine. When I delete a user, their folder remains in the Documents and Settings. Is it safe for me to delete those folders if I don't need any of the data in there? Or will removing them cause other registry or system…
1
vote
0 answers

deleting files only frees space partially (ext3 / ext4)

I just did something similar to this: $ du -sh /bigdata/stuff 1022G /bigdata/stuff $ df -h /bigdata Fileystem Size Used Avail Used% mounted on /dev/sda5 1,8T 1,7T 140G 93% /bigdata $ rm -rf /bigdata/stuff/* $ df -h /bigdata Fileystem …
Markus N.
  • 111
  • 1
1
vote
1 answer

Unable to delete a folder? Read Only Attribute locked?

We have a Windows 2008 R2 with Oracle11g and I need to uninstall the server and to reinstall again. I was following this Oracle Uninstall guide here: http://www.oracle-base.com/articles/misc/ManualOracleUninstall.php Everything was going fine untill…
Spirit
  • 1,154
  • 8
  • 25
  • 45
1
vote
2 answers

Delete folders asynchronously

I have a large file system in which I have to delete certain directories from time to time. Currently I have a script which amongst other things, deletes a folder and subsequently generates an email notification. However, as the deletion of a…
loris
  • 232
  • 1
  • 12
0
votes
2 answers

Delete a log while is written using SED - /var/log/messages

I had a filesystem that was over 60%. I found that the file /var/log/messages had more than 4 million lines so I decided to delete 2 million lines in order to clear some space. I executed the command sed -i '1,2000000d' /var/log/messages the…
0
votes
1 answer

NTP host-name deleted from running config on Cisco 2811

When I configure "ntp server p1.ntp.net.nz" The router tries to resolve the name when it boots up but fails because the ADSL has not come up yet, So the router seams to deleted the host-name from running config. This seams odd and can it be fixed? I…
0
votes
1 answer

Amazon EC2 Windows Server 2012 cannot delete file even as Administrator

I cannot get Blender3D to run on my AWS EC2 instance. I get a message telling me that my system does not use 3D hardware acceleration. I have all my drivers installed (NVidaGRID, etc) and have disabled the "Microsoft Basic Display Adapter" in Device…
pookie
  • 151
  • 1
  • 7
0
votes
1 answer

Files deleted but process open

My /dev/md1 is full # du -x -m --max-depth=1 | sort -n shows 0 ./dev 0 ./proc 0 ./sys 1 ./home 1 ./lost+found 1 ./media 1 ./mnt 1 ./selinux 1 ./srv 1 ./tmp 4 ./lib32 6 ./bin 7 ./etc 13 ./boot 13 ./sbin 15 ./lib 236 …
bklups
  • 101