Tagged Questions

2
votes
3answers
540 views

Cant delete files that “do not exist” even though they show up on my hard drive

There are three videos that I downloaded to my default download directory. I moved them to a different directory where I put all my videos, however a copy of the files still show up in my download ...
2
votes
1answer
151 views

How do I temporary delete files with the command line?

I've tried to alias rm with rm='mv $1 /tmp/' to no avail. How can I temporary delete files with the command line? I want to replace the rm command with the mv command to not delete my files and ...
0
votes
2answers
135 views

How can I remove a directory with rm - rf?

I try to remove a folder with rm -rf foldername … but it says rm: cannot remove folder :is a directory. What's wrong?
1
vote
3answers
2k views

Delete all files in a folder without deleting directories? (OS X)

Is there a simple terminal command maybe to delete all actual data, all files but leave all the directories there? Including packages (.app) as directories? -- You don't need to read this: The reason ...