Displaying 1 to 20 from 38 results

trash - Move files and folders to the trash

  •    Javascript

Works on macOS, Linux, and Windows.In contrast to fs.unlink, del, and rimraf which permanently delete files, this only moves them to the trash, which is much safer and reversible.

FCFileManager - iOS File Manager on top of NSFileManager for simplifying files management.

  •    Objective-C

iOS File Manager on top of NSFileManager for simplifying files management. It provides many static methods for executing most common operations with few lines of code. It works by default in the Documents directory to allow use of relative paths, but it's possible to work easily on any other directory. Copy FCFileManager.h and FCFileManager.m to your project.

del - Delete files and directories

  •    Javascript

Similar to rimraf, but with a Promise API and support for multiple files and globbing. It also protects you against deleting the current working directory and above.Support this project and improve your JavaScript skills with this great ES6 course by Wes Bos. Try his free JavaScript 30 course for a taste of what to expect. You might also like his React and Sublime course.




trash-cli - Move files and folders to the trash

  •    Javascript

Works on macOS, Linux, and Windows.In contrast to rm which is dangerous and permanently delete files, this only moves them to the trash, which is much safer and reversible. I would also recommend reading my guide on safeguarding rm.

goto - A shell utility to quickly navigate to aliased directories supporting auto-completion :penguin:

  •    Shell

Copy the file goto.sh somewhere in your filesystem and add a line in your .zshrc or .bashrc to source it. A formula named goto is available for the bash shell in macOS.


require-glob - Requires multiple modules using glob patterns and combines them into a nested object.

  •    Javascript

Requires multiple modules using glob patterns and combines them into a nested object.Returns a promise that resolves to an object containing the required contents of matching globbed files.

empty-trash - Empty the trash

  •    Javascript

Works on macOS, Linux, and Windows.On macOS, AppleScript is used as it's the only way to do it without incurring permission issues.

jsftp-mkdirp - Recursively create nested directories with jsftp, like mkdirp

  •    Javascript

FTP can natively create only one directory at the time.Useful for being able to upload files to deep paths without knowing if the directories exists beforehand.

require-tree - require multiple files and directories at once

  •    Javascript

A require()-like method for directories, returning an object that mirrors the file tree. Use a property of the exports object as it's key (instead of the filename) in the final object.

is-directory - Extends `stats.isDirectory()`, returns `true` if a filepath is a directory.

  •    Javascript

Returns true if a filepath exists on the file system and it's directory. Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.