Tag Archives: files
Backup your site files

Backup directory and subdirectories tar -c –recursion -p –file=mysite.backup.tar mysite/tar -c –recursion -p –file=mysite.backup.tar mysite/ -c create an archive –recursion…

Move your files from anywhere to anywhere

Limagito FileMover moves your files from anywhere to anywhere. This file mover automation tool can copy, move or delete files…

Windows Synchronize files and folders

SyncToy is a free application that synchronizes files and folders between locations. Typical uses include sharing files, such as photos,…

List files in directory – PHP

$dir = ‘/path/to/dir/’; if(is_dir($dir)) { if($handle = opendir($dir)) { while(($file = readdir($handle)) !== false) { if($file != "." && $file…

List files and folders in a directory – Python

Let’s see an easy way to list all files and folders in a directory: import os   for filename in…

Compare directories using diff in Linux

To compare two directories, we are going to use diff. diff dir1/ dir2/diff dir1/ dir2/ If you are not interested…

How to find files in Linux

find / -name ‘myfile’ search from the root directory for the file named myfile   find /home -iname ‘tes*’ search…

Synchronize files with rsync

Installing rsync sudo apt-get install rsyncsudo apt-get install rsync Manual Syncing rsync -az –progress –size-only /home/username/dir1/* /home/username/destination/rsync -az –progress –size-only…

List files with absolute path recursive in linux

Let’s see how we can list all files of a directory recursive in linux. First of all install tree command…

Find the biggest files and directories

To find biggest files in current directory: ls -lSrhls -lSrh To find biggest .bak files in current directory: ls -lSrh…

Previous Page · Next Page